Skip to content

Commit

Permalink
Simplify beta test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Dec 5, 2023
1 parent 219b40e commit 42ae9ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cypress-tests-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,9 @@ jobs:
run: npx wp-env start --debug

- name: Run Cypress Tests
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || github.actor == 'dependabot[bot]' }}
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' }}
run: npm run test:e2e -- --browser chrome

- name: Run Cypress Tests
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' && github.actor != 'dependabot[bot]' }}
run: npm run test:e2e -- --browser chrome --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --tag "bluehost, wp-beta"

- name: Store screenshots of test failures
if: failure()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 42ae9ec

Please sign in to comment.