From 6192ae462024e3fff284e861398d9679ccbd7dc7 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 21 Jul 2022 09:38:38 +0200 Subject: [PATCH] Increased E2E test timeout temporarily - we keep seeing a lot of random failures from CI due to the Posts Content API - I think it's because of the Ghost boot + number of fixtures we load, which sends us over our 10s threshold - let's see if 15s resolves that --- ghost/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/core/package.json b/ghost/core/package.json index 7d5c3da3ad..328cca5ec9 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -33,7 +33,7 @@ "test:unit": "c8 yarn test:unit:base", "test:unit:base": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/unit' --timeout=2000", "test:integration": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/integration' --timeout=5000", - "test:e2e": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/e2e-api' './test/e2e-frontend' './test/e2e-server' './test/e2e-webhooks' --timeout=10000", + "test:e2e": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/e2e-api' './test/e2e-frontend' './test/e2e-server' './test/e2e-webhooks' --timeout=15000", "test:regression": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000", "test:browser": "playwright test --browser=all test/e2e-browser", "test:ci": "yarn test:e2e -b && yarn test:integration -b && yarn test:regression -b",