-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
I want to call Cypress API api.cypress.io to add Tags to a Run. Where can I find documentation of this Backend API? #6015
Comments
Hi @ashishmundra. The calls to api.cypress.io are not meant to be called outside of the running Cypress app. If you want the ability to add tags to a run that you're about to kick off via a bash script, you can use the module API and pass in tags as an option. |
I want to add tags to a run after the run has been completed. I want to do it via my Github action that promotes my QA build to Prod Environment. I like to capture qa lead approved before this promotion happens and want to tag approved by and approval date with Cypress Test Run itself so that later I can show that for this release these are Test Run, and was approved by whom within Cypress Cloud. How can I achieve that? If there was a cypress api that can add tags to a run, that could be called from Github Action or anywhere else. Is there any other way to achieve what I have mentioned? If not, I will have to store Test Results in Cypress and Approving Test Results somewhere else. |
In case you are not aware, for "how-to" type support you can connect to the Cypress technical community on Discord |
@ashishmundra This capability doesn't exist today, but I'll raise it as a feature request to our Cloud team. Thanks for sharing. I'll close this issue as it's intended to be used for bugs or features wanted for the cypress-documentation repo. |
@ashishmundra quick update that Cloud is adding the ability for users to manually tag completed runs (some of our users are referring to this as "annotating" completed runs). That is anticipated in Q1. We are not expecting to add post-run tagging via API in this same timeframe, however. |
Description
I want to call Cypress API api.cypress.io to add Tags to a Run. Where can I find documentation of this Backend API?
E.g. if there is a /runs or /tags Endpoint and what should there Payload be? How to know this documentation? I want to call it from a bash script.
The text was updated successfully, but these errors were encountered: