retries:1,//Retries 2 times for a total of 3 runs. When running sharded and with max-failures=5, this should ensure that flake is managed without failing the full suite
testDir:'tests',
testIgnore:'**/*.perf.spec.js',//Ignore performance tests and define in playwright-perfromance.config.js
timeout:30*1000,
webServer:{
command:'npm run start:coverage',
url:'http://localhost:8080/#',
timeout:200*1000,
reuseExistingServer:true//This was originally disabled to prevent differences in local debugging vs. CI. However, it significantly speeds up local debugging.
},
maxFailures:MAX_FAILURES,//Limits failures to 5 to reduce CI Waste