This is an enhancement suggestion related to the GitHub step output dashboardUrl which is used when github-action records in the Cypress Cloud, which used to be called Cypress Dashboard.
Suggested change
- Add a new parameter reflecting Cypress Cloud instead of Cypress Dashboard, for example
cloudRunUrl
- Declare
dashboardUrl as deprecated and retain its functionality until a future major version of github-action is released
- Update documentation and Cypress 12.x examples accordingly
Reason for change
Background
"This action sets a GitHub step output dashboardUrl if the run was recorded on Cypress Cloud using the action parameter setting record: true (see Record test results on Cypress Cloud)."
Current example
- name: Cypress tests
# normally you would write
# uses: cypress-io/github-action@v5
uses: ./
# let's give this action an ID so we can refer
# to its output values later
id: cypress
# Continue the build in case of an error, as we need to set the
# commit status in the next step, both in case of success and failure
continue-on-error: true
with:
working-directory: examples/recording
record: true
parallel: true
group: Recording example
tag: action
# see "outcome" and "conclusion" of a step doc
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#steps-context
# "output" can be success, failure, cancelled, or skipped
- name: Print Cypress Cloud URL
run: |
echo Cypress finished with: ${{ steps.cypress.outcome }}
echo See results at ${{ steps.cypress.outputs.dashboardUrl }}

This is an enhancement suggestion related to the GitHub step output
dashboardUrlwhich is used whengithub-actionrecords in the Cypress Cloud, which used to be called Cypress Dashboard.Suggested change
cloudRunUrldashboardUrlas deprecated and retain its functionality until a future major version ofgithub-actionis releasedReason for change
Using the name
dashboardUrlis confusing when Cypress Dashboard has been renamed to Cypress Cloud.This follows on from PR fix: update dashboard refs to cloud #907 started by @mattvCypress and completed by @elylucas.
Background
"This action sets a GitHub step output
dashboardUrlif the run was recorded on Cypress Cloud using the action parameter settingrecord: true(see Record test results on Cypress Cloud)."Cypress Dashboard was renamed Cypress Cloud (see Cypress Dashboard will soon become Cypress Cloud from Nov 1, 2022).
Cypress displays the URL with the text "Recorded Run:". It does not mention the name "Dashboard or Cloud" in the text.
github-actionuses Cypress' Module API to run Cypress recording. Thecypress.run()results are defined in cypress-npm-api.d.ts includingrunUrl.Current example