Skip to content

Commit

Permalink
remove waitforurl in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Vostrak authored and Gregor Vostrak committed Jan 23, 2024
1 parent b9876d2 commit 49d3b36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions e2e/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ test('can register, logout and log back in', async ({ page }) => {
).toBeVisible();
await page.locator('#currentUserButton').click();
await page.getByRole('button', { name: 'Log Out' }).click();
await page.waitForURL(PLAYWRIGHT_BASE_URL + '/');
await page.goto(PLAYWRIGHT_BASE_URL + '/login');
await page.getByLabel('Email').fill(email);
await page.getByLabel('Password').fill(password);
Expand All @@ -42,7 +41,6 @@ test('can register and delete account', async ({ page }) => {
await page.getByRole('button', { name: 'Delete Account' }).click();
await page.getByPlaceholder('Password').fill(password);
await page.getByRole('button', { name: 'Delete Account' }).nth(1).click();
await page.waitForURL(PLAYWRIGHT_BASE_URL + '/');
await page.goto(PLAYWRIGHT_BASE_URL + '/login');
await page.getByLabel('Email').fill(email);
await page.getByLabel('Password').fill(password);
Expand Down

0 comments on commit 49d3b36

Please sign in to comment.