cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.69k stars 3.16k forks source link

Can't see target URL of the environment the test ran against in the Cypress Dashboard #23549

Open peterjaap opened 2 years ago

peterjaap commented 2 years ago

What would you like?

Hi! I just found out that nowhere in the Cypress dashboard I can find information against which environment my tests ran. We use feature branches & review apps to test our stuff and all the Cypress tests run against different testing domains. But when a test fails, I can't find in the Cypress dashboard which URL it tested against.

It also doesn't say in the test output itself, nor in the Test Definition.

I could see it in the video, but I've disabled videos.

Why is this needed?

To be able to quickly see (and possibly filter on) which tests are run against which environment.

Other

Two things I've done to help me a bit; I've echo'd out the URL in our CI/CD job so I can find it there.

The other thing I've done is to add the branch name as a tag when starting cypress, so cypress run --tag $CI_COMMIT_BRANCH.

But it still seems weird to me I can't find it in the dashboard by default.

conversayShawn commented 2 years ago

I know these are not ideal workarounds for your team, but in case others are interested: