Skip to content

Commit

Permalink
chore: conditionally enable parallel Cypress tests on record
Browse files Browse the repository at this point in the history
  • Loading branch information
adeldhis2 committed Apr 24, 2024
1 parent da731f3 commit e3a96df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
uses: cypress-io/github-action@v6
with:
record: ${{ contains(github.event.pull_request.title, '[e2e record]') || contains(github.event.head_commit.message, '[e2e record]') }}
parallel: true
parallel: ${{ contains(github.event.pull_request.title, '[e2e record]') || contains(github.event.head_commit.message, '[e2e record]') }}
group: e2e-chrome-parallel-${{ matrix.versions }}
browser: chrome
start: yarn start:forCypress
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
uses: cypress-io/github-action@v6
with:
record: ${{ contains(github.event.pull_request.title, '[e2e record]') || contains(github.event.head_commit.message, '[e2e record]') }}
parallel: true
parallel: ${{ contains(github.event.pull_request.title, '[e2e record]') || contains(github.event.head_commit.message, '[e2e record]') }}
group: e2e-chrome-parallel-dev
browser: chrome
start: yarn start:forCypress
Expand Down

0 comments on commit e3a96df

Please sign in to comment.