From e8585eff5c997783a5200bf6d9b89c70f1a6a6a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Fri, 16 Feb 2024 17:59:02 +0100 Subject: [PATCH] Do not run e2e tests in parallel --- playwright.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playwright.config.js b/playwright.config.js index b7badf1cc..6c0029bb5 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -11,6 +11,13 @@ export default { testDir: './tests/e2e/', testMatch: /.*\.test\.e2e\.js/, // Match any .test.e2e.js files + /** + * Only run one test at a time, running multiple could lead to a inconsistent + * database state. + */ + fullyParallel: false, + workers: 1, + /* Maximum time one test can run for. */ timeout: 30 * 1000,