From de38b2c3488af9e802277b4ea9cfa67b6590e7cb Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Wed, 28 Aug 2024 08:47:44 +0200 Subject: [PATCH] cleanup --- e2e/UserFlows.spec.ts | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/e2e/UserFlows.spec.ts b/e2e/UserFlows.spec.ts index 4a243ed..5de88e0 100644 --- a/e2e/UserFlows.spec.ts +++ b/e2e/UserFlows.spec.ts @@ -57,31 +57,3 @@ test('should complete the full user journey from home to success page', async ({ await expect(page.locator('h1')).toContainText('Order confirmed!'); }); - - -// await page.goto('http://localhost:3000/'); -// await page.getByRole('button', { name: 'View all restaurants' }).click(); -// await page.getByRole('link', { name: 'Burgers' }).click(); -// await page.getByRole('heading', { name: 'Burger Kingdom' }).click(); -// await page.locator('div').filter({ hasText: /^CheeseburgerNice grilled burger with cheeseā‚¬8\.50$/ }).first().click(); -// await page.getByLabel('increase quantity by one').click(); -// await page.getByLabel('confirm').click(); -// await page.getByLabel('food cart').click(); -// await page.getByRole('button', { name: 'Checkout' }).click(); -// await page.getByPlaceholder('John').click(); -// await page.getByPlaceholder('John').fill('Jane'); -// await page.getByPlaceholder('John').press('Tab'); -// await page.getByPlaceholder('Doe').fill('Doe'); -// await page.getByPlaceholder('Doe').press('Tab'); -// await page.getByPlaceholder('email address').fill('janedoe@gmail.com'); -// await page.getByPlaceholder('email address').press('Tab'); -// await page.getByPlaceholder('phone number').fill('testing'); -// await page.getByPlaceholder('phone number').press('Enter'); -// await page.getByRole('button', { name: 'Next' }).click(); -// await page.getByPlaceholder('Some street,').click(); -// await page.getByPlaceholder('Some street,').fill('sdasd'); -// await page.getByPlaceholder('AAAAXX').click(); -// await page.getByPlaceholder('AAAAXX').fill('asd'); -// await page.getByPlaceholder('Amsterdam').click(); -// await page.getByPlaceholder('Amsterdam').fill('sdas'); -// await page.getByRole('button', { name: 'Complete order' }).click();