feat(testing): Playwright build CI optimization

This commit is contained in:
Muhammed Mustafa
2022-10-25 20:00:43 +05:30
parent 553cc043bc
commit e39c0869fc
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,8 @@ const config: PlaywrightTestConfig = {
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
// forbidOnly: !!process.env.CI,
forbidOnly: false,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */