Skip to content

Commit

Permalink
Merge pull request #13 from newfold-labs/add/check-module-has-Cypress…
Browse files Browse the repository at this point in the history
…-tests-before-running-them

Compare output value
  • Loading branch information
BrianHenryIE authored May 9, 2024
2 parents a122950 + 540ce82 commit dc87d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
echo "MODULE_TESTS_FOUND=$MODULE_TESTS_FOUND" >> $GITHUB_OUTPUT;

- name: Run Module Cypress Tests
if: ${{ steps.check-for-module-tests.outputs.MODULE_TESTS_FOUND }}
if: ${{ steps.check-for-module-tests.outputs.MODULE_TESTS_FOUND == 1 }}
run: npm run test:e2e -- --browser chrome --spec "vendor/(${{ inputs.module-repo }}/**/*.cy.js)"

- name: Run Remaining Cypress Tests
Expand Down

0 comments on commit dc87d02

Please sign in to comment.