Skip to content

Commit

Permalink
#3169 - fixed ci_enviroment false statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Gayane Chilingaryan committed Sep 4, 2023
1 parent 5199f1a commit 0218719
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ketcher-autotests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ 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: Boolean(process.env.CI_ENVIRONMENT),
forbidOnly:
process.env.CI_ENVIRONMENT === 'false'
? false
: Boolean(process.env.CI_ENVIRONMENT),
/* Retry on CI only */
retries: isCI ? MAX_NUMBER_OF_RETRIES : 0,
/* Opt out of parallel tests on CI. */
Expand Down

0 comments on commit 0218719

Please sign in to comment.