diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index 63e6685..4ca4faa 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -210,13 +210,12 @@ jobs: - name: Install WordPress run: npx @wordpress/env@latest start - - name: Run Only Module Cypress Tests - if: ${{ inputs.only-module-tests }} + - name: Run Module Cypress Tests run: npm run test:e2e -- --browser chrome --spec "vendor/${{ inputs.module-repo }}/**/*" - - name: Run Cypress Tests + - name: Run Remaining Cypress Tests if: ${{ ! inputs.only-module-tests }} - run: npm run test:e2e -- --browser chrome + run: npm run test:e2e -- --browser chrome --spec "vendor/!(${{ inputs.module-repo }})" - name: Store screenshots of test failures if: failure()