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
This commit is contained in:
Earl Warren 2024-02-22 18:57:05 +00:00
commit ec1b64637e

View file

@ -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,