mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(test): perform action to guarantee URL updates (#34714)
This commit is contained in:
parent
aeed1f5909
commit
ad6444e14c
@ -77,6 +77,8 @@ test('should update primary page URL when original primary closes', async ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
await page3.close();
|
await page3.close();
|
||||||
|
// URL will not update without performing some action
|
||||||
|
await page4.locator('div').first().click();
|
||||||
await expect(recorder.recorderPage).toHaveTitle(
|
await expect(recorder.recorderPage).toHaveTitle(
|
||||||
`Playwright Inspector - ${server.PREFIX}/grid.html`,
|
`Playwright Inspector - ${server.PREFIX}/grid.html`,
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user