-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cypress cloud to see videos of cypress runs on CI #401
Draft
estellecomment
wants to merge
10
commits into
develop_tchap
Choose a base branch
from
cypress-cloud
base: develop_tchap
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
estellecomment
commented
Jan 31, 2023
cypress/support/bot.ts
Outdated
@@ -86,7 +84,6 @@ Cypress.Commands.add("getBot", (synapse: SynapseInstance, opts: CreateBotOpts): | |||
userId: credentials.userId, | |||
deviceId: credentials.deviceId, | |||
accessToken: credentials.accessToken, | |||
request, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that fix is for just unbreaking the tests, otherwise we don't see the runs in cypress cloud. But fixing the tests will be done in other PRs.
Setting this back to draft, I'll have to check if it still works, especially with all the changes done to the CI. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cypress Cloud is a service to visualize past runs of cypress, with videos of what happened !
Example video : https://cloud.cypress.io/projects/x8og2r/runs/2/test-results/6087b18f-0b1d-4cdc-83ca-1246e0a26dba/video
In CI, video is only uploaded on failed runs. You have to wait a while to see the run appear in the dashboard, because it only appears when
cypress run
starts and sends stuff to cypress cloud. So during the build and run of the tchap-web server, nothing shows up on cycpress cloud.The dashboard looks like this :
If you want to upload the results of your local cypress to Cypress Cloud (not sure why you want to do this, but it's possible !) you can run
cypress run --record --key <record_key>
locally. Find the record key in the dashboard's settings somewhere.Bonus : you can also download the cypress results from the github action, they are saved as artifacts. Go to your action run, Summary, Artifacts (bottom of page)
Todo :