We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8699273 commit 1a0a364Copy full SHA for 1a0a364
e2e/helpers.ts
@@ -18,6 +18,7 @@ export const getEnv = (name: string) => {
18
19
export const clickLinkAndExpectPageTitle = async (page: Page, linkText: string, expectedPageTitle: string) => {
20
await page.getByRole("link", { name: linkText, exact: true }).click();
21
+ await page.waitForLoadState("networkidle", { timeout: 30000 });
22
await expect(page).toHaveTitle(expectedPageTitle);
23
};
24
0 commit comments