Skip to content

Commit

Permalink
Fix Cypress action
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslange committed Oct 14, 2024
1 parent 6aa9680 commit 3eecf90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: npm install

- name: Cypress run
config-file: cypress.config.js
uses: cypress-io/github-action@v2
with:
start: npm run wp-env start
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"phplint": "composer phplint",
"test": "npm-run-all --parallel phpcs phplint",
"test:e2e": "cypress run --headless --browser chrome",
"test:e2e-dev": "cypress open",
"test:e2e-dev": "cypress open --config-file=cypress.config.js",
"test:theme-astra": "cypress run --headless --browser chrome --spec 'cypress/e2e/astra.cy.js'",
"test:theme-atomic-blocks": "cypress run --headless --browser chrome --spec 'cypress/e2e/atomic-blocks.cy.js'",
"test:theme-blocksy": "cypress run --headless --browser chrome --spec 'cypress/e2e/blocksy.cy.js'",
Expand Down

0 comments on commit 3eecf90

Please sign in to comment.