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

Commit 11fafae

Browse files
committed
Increase Cypress integration test timeout to 2min
1 parent 47f50b0 commit 11fafae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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: 60000,
16+
testTimeout: 120000,
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
@@ -40,9 +40,9 @@ import treeKill from "tree-kill";
4040

4141
const debug = _debug("unflakable:integration-test:run-test-case");
4242

43-
// Jest times out after 70 seconds, so we bail early here to allow time to print the
43+
// Jest times out after 120 seconds, so we bail early here to allow time to print the
4444
// captured output before Jest kills the test.
45-
const TEST_TIMEOUT_MS = 50000;
45+
const TEST_TIMEOUT_MS = 110000;
4646

4747
const userAgentRegex = new RegExp(
4848
"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)