From d759eba56843c28aa269a396040df57c1ce2686b Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 1 Feb 2024 10:32:43 -0500 Subject: [PATCH] add file extensions to spec option for clarity --- .github/workflows/module-plugin-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index 4ca4faa..f9934c0 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -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()