Running Cypress against multiple sites in GitHub Actions #26220
Unanswered
nagendrakumar02
asked this question in
CI setup
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run my cypress tests against different sites as part of CI in github actions. Ideally I am looking to see if there is a way to read a SITEURLS="https://example1.com https://example2.com" and loop through a for loop. Inside the for loop to call npm run cypress:run -- --env URL=${siteUrl}
Each site has its own configuration values, that we use to check.
Is this possible? If there is a better way to test this, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions