Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 28, 2024
1 parent ad6f4db commit de38b2c
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions e2e/UserFlows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit de38b2c

Please sign in to comment.