Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
* main:
  add pluginSlug to cypress config env vars
  We can't add the `--tag` flag if not passing `--record`
  • Loading branch information
circlecube committed Feb 8, 2024
2 parents 987611d + 31026ae commit 1cc67b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Run Cypress Tests
if: ${{ github.repository == 'newfold-labs/wp-plugin-mojo' }}
run: npm run test:e2e -- --browser chrome --tag "mojo, wp-beta"
run: npm run test:e2e -- --browser chrome

- name: Store screenshots of test failures
if: failure()
Expand Down
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = defineConfig({
phpVersion,
pluginId: 'mojo',
appId: 'wppm',
pluginSlug: 'wp-plugin-mojo',
},
downloadsFolder: 'tests/cypress/downloads',
fixturesFolder: 'tests/cypress/fixtures',
Expand Down

0 comments on commit 1cc67b3

Please sign in to comment.