From 42ae9ec9824783bc3f248240a0e6ae7df4b6f73f Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Mon, 4 Dec 2023 20:23:06 -0500 Subject: [PATCH] Simplify beta test runner --- .github/workflows/cypress-tests-beta.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/cypress-tests-beta.yml b/.github/workflows/cypress-tests-beta.yml index c4de4464b..fe4be16fd 100644 --- a/.github/workflows/cypress-tests-beta.yml +++ b/.github/workflows/cypress-tests-beta.yml @@ -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