Skip to content

Commit

Permalink
add file extensions to spec option for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Feb 1, 2024
1 parent d6fb0a8 commit d759eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ jobs:
run: npx @wordpress/env@latest start

- name: Run Module Cypress Tests
run: npm run test:e2e -- --browser chrome --spec "vendor/${{ inputs.module-repo }}/**/*"
run: npm run test:e2e -- --browser chrome --spec "vendor/(${{ inputs.module-repo }}/**/*.cy.js)"

- name: Run Remaining Cypress Tests
if: ${{ ! inputs.only-module-tests }}
run: npm run test:e2e -- --browser chrome --spec "vendor/!(${{ inputs.module-repo }})"
run: npm run test:e2e -- --browser chrome --spec "vendor/!(${{ inputs.module-repo }}/**/*.cy.js)"

- name: Store screenshots of test failures
if: failure()
Expand Down

0 comments on commit d759eba

Please sign in to comment.