Skip to content

Commit

Permalink
chore: disable parallel config for playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdikhashan committed May 12, 2024
1 parent a80179c commit dd27f0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion playwright.config.js
Expand Up @@ -2,7 +2,10 @@

module.exports = {
testDir: "./test/e2e-playwright",
fullyParallel: true,
// however this can have benefits, in tests I couldn't start a server on multiple ports
// for tests "stats-refactored.test.js" the port is read from "ports-map.js" file somehow
// I should manage to handle it if I want to run the tests in parallel mode
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
// eslint-disable-next-line no-undefined
Expand Down

0 comments on commit dd27f0e

Please sign in to comment.