Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 7a33438

Browse files
committed
[cypress] Increase integration test timeout to 4 minutes
1 parent deec7d3 commit 7a33438

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/cypress-plugin/test/integration/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ module.exports = {
1313
setupFilesAfterEnv: ["jest-expect-message", "./src/matchers.ts"],
1414
testEnvironment: "node",
1515
// NB: This should be greater than TEST_TIMEOUT_MS used by the watchdog in runTestCase().
16-
testTimeout: 120000,
16+
testTimeout: 240000,
1717
verbose: true,
1818
};

packages/cypress-plugin/test/integration/src/run-test-case.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ import {
3636
import cypressPackage from "cypress/package.json";
3737
import semverLt from "semver/functions/lt";
3838

39-
// Jest times out after 120 seconds, so we bail early here to allow time to print the
39+
// Jest times out after 240 seconds, so we bail early here to allow time to print the
4040
// captured output before Jest kills the test.
41-
const TEST_TIMEOUT_MS = 110000;
41+
const TEST_TIMEOUT_MS = 230000;
4242

4343
const userAgentRegex = new RegExp(
4444
"unflakable-js-api/(?:[-0-9.]|alpha|beta)+ unflakable-cypress-plugin/(?:[-0-9.]|alpha|beta)+ \\(Cypress [0-9]+\\.[0-9]+\\.[0-9]+; Node v[0-9]+\\.[0-9]+\\.[0-9]\\)"

0 commit comments

Comments
 (0)