Cypress: Reverse screenshot order in dashboard

Created on 25 Apr 2018  路  8Comments  路  Source: cypress-io/cypress

Current behavior:

In the dashboard, the output and failures are sorted in chronological order, whereas the screenshots are sorted in reverse chronological order. This makes it unnecessarily hard to find the correspondent screenshot for a specific failure.

Desired behavior:

The screenshots should be sorted in the same way as the other tabs of a build to keep everything visually consistent and fast to browse through. Optimally they would have the number of the correspondent failure in the output.

Steps to reproduce:

Run failing test on CI and look at the build in the Cypress dashboard

Versions

Cypress v2.1.0
Chrome v65
Mac OS v10.13.4

dashboard

All 8 comments

@jennifer-shehane and @bahmutov can you look at this please?

Yes. I noticed this when working on our 3.0 release and requested that the api reverse the order, but it was pushed back as a decision for the front-end.

I can go ahead and reverse the order in the dashboard and get a quick fix out hopefully today. https://github.com/cypress-io/cypress-dashboard/issues/665

yeah, once 3.0 comes out, the screenshot order should be correct per spec / test

This should be fixed now.

Now when I switch between the tabs, the order of the screenshots changes. So when I am on the page of a CI build in the Cypress dashboard and click on "Screenshots", they are ordered in chronological order. But when I click on "Output" and then "Screenshots" again, the screenshots are in reversed chronological order. 馃槃

Oh no. Yeah, I can see how this is happening.

K, this should really be fixed now. I added a test around switching tabs and manually checked it to make sure.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zbigniewkalinowski picture zbigniewkalinowski  路  3Comments

carloscheddar picture carloscheddar  路  3Comments

simonhaenisch picture simonhaenisch  路  3Comments

rbung picture rbung  路  3Comments

brian-mann picture brian-mann  路  3Comments