Skip to content

Commit 8e28d18

Browse files
committed
test: tweak flaky
1 parent 07b3fbe commit 8e28d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-rsc/e2e/syntax-error.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ test.describe(() => {
164164
)
165165
await expect(async () => {
166166
await page.goto(f.url())
167-
await waitForHydration(page)
168167
await expect(page.getByTestId('client-content')).toHaveText(
169168
'client:fixed',
170169
)
171170
}).toPass()
171+
await waitForHydration(page)
172172
})
173173
})
174174

@@ -197,11 +197,11 @@ test.describe(() => {
197197
)
198198
await expect(async () => {
199199
await page.goto(f.url())
200-
await waitForHydration(page)
201200
await expect(page.getByTestId('server-content')).toHaveText(
202201
'server:fixed',
203202
)
204203
}).toPass()
204+
await waitForHydration(page)
205205
})
206206
})
207207
})

0 commit comments

Comments
 (0)