Skip to content

Commit 456449d

Browse files
authored
test(rsc): tweak timeout (#854)
1 parent 1e5c67c commit 456449d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/plugin-rsc/e2e/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function waitForHydration(page: Page, locator: string = 'body') {
1515
el &&
1616
Object.keys(el).some((key) => key.startsWith('__reactFiber')),
1717
),
18-
{ timeout: 10000 },
18+
{ timeout: 20000 },
1919
)
2020
.toBeTruthy()
2121
}

packages/plugin-rsc/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { defineConfig, devices } from '@playwright/test'
33
export default defineConfig({
44
testDir: 'e2e',
55
use: {
6-
trace: 'on-first-retry',
6+
screenshot: 'only-on-failure',
7+
trace: 'on-all-retries',
78
},
89
expect: {
910
toPass: { timeout: 10000 },

0 commit comments

Comments
 (0)