test: removes all unnecessary page.waitForURL methods (#11412)
Removes all unnecessary `page.waitForURL` methods within e2e tests. These are unneeded when following a `page.goto` call because the subsequent page load is already being awaited. It is only a requirement when: - Clicking a link and expecting navigation - Expecting a redirect after a route change - Waiting for a change in search params
This commit is contained in:
@@ -49,7 +49,6 @@ describe('i18n', () => {
|
||||
|
||||
test('ensure i18n labels and useTranslation hooks display correct translation', async () => {
|
||||
await page.goto(serverURL + '/admin')
|
||||
await page.waitForURL(serverURL + '/admin')
|
||||
|
||||
await expect(
|
||||
page.locator('.componentWithDefaultI18n .componentWithDefaultI18nValidT'),
|
||||
|
||||
Reference in New Issue
Block a user