-
Notifications
You must be signed in to change notification settings - Fork 365
Open
Labels
Description
Context
I'm using Cypress Cloud and what I want is that for each test run, a link to the Cypress Cloud run should be included somewhere in the PR.
We could do this by setting up a Github Action that comments the link in the PR - but how to get the link?
We can grep it from std out - the bit that says: Recorded Run: https://cloud.cypress.io/projects/xyz/runs/16, but how to get access to this?
I could log it to file:
- name: Execute Cypress
uses: cypress-io/github-action@v6
with:
command: npx cypress run | tee cypress-output.log
wait-on: http://localhost:8080
record: true
The problem with this is that it that the additional commands (--record) will be tacked on to tee
not npx
.
What would be nice if you can add an option like:
output_log: 'cypress-output.log'
That will also record std out as a file.