Open ashishmundra opened 4 days ago
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.
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.