wearefrank / ladybug-frontend

Frontend for Ladybug
Apache License 2.0
1 stars 7 forks source link

When you select multiple reports in the table and open them with one click, the sequence in the debug tree not deterministic #439

Closed mhdirkse closed 1 month ago

mhdirkse commented 3 months ago

This issue is about the Debug tab. If you select multiple reports and click "Open selected", the selected reports are all opened in the tree view. The order is not fixed however. When you repeat this test with the same reports in the table, you get different report sequences in the tree view.

This is tested in the before each hook of testtab.cy.js. In some cases I have:

image

In other cases I have:

image

mhdirkse commented 3 months ago

I discussed with Jaco whether we should support multiple reports in the debug tree. I also discussed whether a fixed sequence of reports is required in this scenario. The answer to both questions is yes. The test code works as expected and this should be fixed in the source code.

mhdirkse commented 3 months ago

After fixing this issue, please look what was done in PR https://github.com/wearefrank/ladybug-frontend/pull/441. That change can then be undone.

mhdirkse commented 2 months ago

Wordt issue 1250.