garris / garris/BackstopJS

BackstopJS Report: Order of Scenarios

Open
#367 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

The order of the scenarios in the report is different from the order defined in the "backstop.json"-file.

As I see in the 'protocol' in the terminal, running the test, screenshots are done in the defined order. But then, when running "COMMAND | Executing core for `report`", it starts to go mad.

I numbered my scenarios in the labels, so that even the filenames for the screenshots provide the correct order.

And the report starts with 1.1.1… (as it should), but then jumps to 4.2.5.2… even before all scenarios of 1.1.1… are ready! And all over the report scenarios jump back an forth. The rest of 1.1.1… is finally stated at the very end of the Report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.