summaryrefslogtreecommitdiffstats
path: root/playwright.config.js
diff options
context:
space:
mode:
authorEarl Warren <earl-warren@noreply.codeberg.org>2024-02-22 19:57:05 +0100
committerEarl Warren <earl-warren@noreply.codeberg.org>2024-02-22 19:57:05 +0100
commitec1b64637ed7307cb756ab08e4e3c406b8f6ee54 (patch)
treed0ff4d47405771f9dd7dfb7128e37bcabcf23a55 /playwright.config.js
parentMerge pull request 'Enable e2e testing on Firefox' (#2439) from maltejur/forg... (diff)
parentDo not run e2e tests in parallel (diff)
downloadforgejo-ec1b64637ed7307cb756ab08e4e3c406b8f6ee54.tar.xz
forgejo-ec1b64637ed7307cb756ab08e4e3c406b8f6ee54.zip
Merge pull request 'Do not run e2e tests in parallel' (#2440) from maltejur/forgejo:e2e_parallel into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2440
Diffstat (limited to 'playwright.config.js')
-rw-r--r--playwright.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/playwright.config.js b/playwright.config.js
index 38851e2d12..6595bc4312 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,