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…
Reference in a new issue