Skip to content

Commit 874272e

Browse files
apply requested timout change
1 parent 596db7f commit 874272e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

examples/create-next-app/e2e/playwright.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ export default defineConfig({
4949
command: "pnpm preview:worker",
5050
url: "http://localhost:8771",
5151
reuseExistingServer: !process.env.CI,
52-
// the app uses the `initOpenNextCloudflareForDev` which in CI apparently makes the boot up take slightly longer,
53-
// that's why we need a longer timeout here (we just add 10 seconds to the default 60)
54-
timeout: !process.env.CI ? undefined : 60 * 1000 + 10 * 1000,
52+
timeout: 7_000,
5553
},
5654
});

examples/middleware/e2e/playwright.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ export default defineConfig({
4949
command: "pnpm preview:worker",
5050
url: "http://localhost:8774",
5151
reuseExistingServer: !process.env.CI,
52-
// the app uses the `initOpenNextCloudflareForDev` which in CI apparently makes the boot up take slightly longer,
53-
// that's why we need a longer timeout here (we just add 10 seconds to the default 60)
54-
timeout: !process.env.CI ? undefined : 60 * 1000 + 10 * 1000,
52+
timeout: 7_000,
5553
},
5654
});

0 commit comments

Comments
 (0)