cypress-io / cypress

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

Tag ordering sometimes is not displayed in the order it is declared when using the --tag command in the Cypress Cloud #28970

Open laerteneto opened 9 months ago

laerteneto commented 9 months ago

Current behavior

The tags, sometimes, are not being displayed over the Cypress Cloud in the order we declare in the --tag command.

Desired behavior

The tags should be displayed in the order we declared in the --tag command as the documentation implies so: https://docs.cypress.io/guides/guides/command-line#cypress-run-tag-lt-tag-gt

Test code to reproduce

image

Cypress Version

13.6.1

Node version

20.6.1

Operating System

Windows 10

Debug Logs

No response

Other

No response

jennifer-shehane commented 9 months ago

@laerteneto Hi, can you explain the importance of having the tags display in the order you defined them? How will this help your workflow? It will help understanding this in order to prioritize the work. Thanks!

laerteneto commented 9 months ago

@jennifer-shehane Hi, thanks for the reply.

We have lots of tags in our Cloud, such as branch names, app code versions from front-end and back-end, environment IDs, jenkins builds number, and some others. So, in our case, as we have many daily runs in the Cloud with many different sets of tags, people inside the company get a bit confused while taking an overview of all the runs from the Latest Runs page as the tags are not sorted in the way we declared to make the visualization of the runs easier. Basically, in my personal experience, this is something that can make people very confused while working with so many daily runs and with many tags with many differents set of tags in each run as sometimes.

To overcome this situation a little bit, we use the filters. However, it still does not solve the issue for us as the tags are still not sorted in the way we declared in the code sometimes, it only decreases the number of data retrieved, which is helpful, but it still makes people a bit confused.

jennifer-shehane commented 9 months ago

@laerteneto Thanks for taking the time to explain. I've forwarded your request to our Cloud team for them to evaluate the priority of this request.

ruben0251 commented 2 months ago

@jennifer-shehane Will tag ordering be added in the future? We are struggling with the same issue.