-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into update/react-app-cleanup
- Loading branch information
Showing
10 changed files
with
458 additions
and
887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,9 +30,9 @@ jobs: | |
- '8.1' | ||
- '8.2' | ||
wpVersion: | ||
- '6.1' | ||
- '6.2' | ||
- '6.3' | ||
- '6.4' | ||
|
||
steps: | ||
|
||
|
@@ -115,27 +115,12 @@ jobs: | |
run: npx wp-env start --debug | ||
|
||
- name: Run Cypress Tests | ||
env: | ||
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || env.RECORD_REPLAY_API_KEY == '' }} | ||
run: npx cypress run | ||
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || github.actor == 'dependabot[bot]' }} | ||
run: npm run test:e2e -- --browser chrome | ||
|
||
- name: Run Cypress Tests | ||
uses: replayio/[email protected] | ||
env: | ||
RECORD_REPLAY_METADATA_TEST_RUN_TITLE: "php-${{ matrix.phpVersion }}, wp-${{ matrix.wpVersion }}" | ||
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' && env.RECORD_REPLAY_API_KEY != '' }} | ||
with: | ||
api-key: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
browser: 'replay-chromium' | ||
command: npm run test:e2e -- --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --tag bluehost,php-${{ matrix.phpVersion }},wp-${{ matrix.wpVersion }} | ||
upload-all: false | ||
|
||
- name: List Replays | ||
if: always() | ||
shell: bash | ||
run: npx @replayio/replay ls --json | ||
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,php-${{ matrix.phpVersion }},wp-${{ matrix.wpVersion }}" | ||
|
||
- name: Store screenshots of test failures | ||
if: ${{ failure() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,27 +98,13 @@ jobs: | |
- name: Install WordPress | ||
run: npx wp-env start --debug | ||
|
||
- name: Run Cypress Beta Only Tests | ||
env: | ||
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || env.RECORD_REPLAY_API_KEY == '' }} | ||
run: npx cypress run | ||
- name: Run Cypress Tests | ||
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || github.actor == 'dependabot[bot]' }} | ||
run: npm run test:e2e -- --browser chrome | ||
|
||
- name: Run Cypress Beta Only Tests | ||
uses: replayio/[email protected] | ||
env: | ||
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' && env.RECORD_REPLAY_API_KEY != '' }} | ||
with: | ||
api-key: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
browser: 'replay-chromium' | ||
command: npm run test:e2e -- --record --key ${{ secrets.CYPRESS_RECORD_KEY }} | ||
upload-all: false | ||
|
||
- name: List Replays | ||
if: always() | ||
shell: bash | ||
run: npx @replayio/replay ls --json | ||
- 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() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,26 +102,12 @@ jobs: | |
run: npx wp-env start --debug | ||
|
||
- name: Run Cypress Tests | ||
env: | ||
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || env.RECORD_REPLAY_API_KEY == '' }} | ||
run: npx cypress run | ||
if: ${{ github.repository != 'bluehost/bluehost-wordpress-plugin' || github.actor == 'dependabot[bot]' }} | ||
run: npm run test:e2e -- --browser chrome | ||
|
||
- name: Run Cypress Tests | ||
uses: replayio/[email protected] | ||
env: | ||
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' && env.RECORD_REPLAY_API_KEY != '' }} | ||
with: | ||
api-key: ${{ secrets.RECORD_REPLAY_API_KEY }} | ||
browser: 'replay-chromium' | ||
command: npm run test:e2e -- --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --tag bluehost | ||
upload-all: false | ||
|
||
- name: List Replays | ||
if: always() | ||
shell: bash | ||
run: npx @replayio/replay ls --json | ||
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 | ||
|
||
- name: Store screenshots of test failures | ||
if: failure() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.