Closed mattkoch-bb closed 1 year ago
You should be able to do this using something like this:
run-tests-in-chrome:
docker:
- image: cypress/browsers:node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1
steps:
- cypress/run-tests:
working-directory: examples/angular-app
cypress-command: "npx cypress run --browser chrome --baseUrl=yourPreBuildWebsiteURL"
https://github.com/cypress-io/github-action
Is there a way to achieve the following, similar to how we've done it with the above GH Action? We're trying to set up a scenario where we have already built and installed dependencies, and deployed a static site to a hosting environment. The below GH action does this by setting a baseUrl in the config. We are wondering how to do something similar with Circle CI.