Skip to content

Commit 601688a

Browse files
authored
chore(tests): add wait for hydration (#1651)
1 parent 002c7b0 commit 601688a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

e2e/broken-links.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ test.describe(`broken-links/dynamic-not-found`, async () => {
167167

168168
test('access sync page with client navigation', async ({ page }) => {
169169
await page.goto(`http://localhost:${port}/`);
170+
await waitForHydration(page);
170171
await expect(page.getByRole('heading')).toHaveText('Index');
171172
await page.click("a[href='/dynamic-not-found/sync']");
172173
await expect(page.getByRole('heading')).toHaveText('Custom not found');

0 commit comments

Comments
 (0)