allure2 icon indicating copy to clipboard operation
allure2 copied to clipboard

Allure's UI auto-expands previously expanded and subsequently collapsed items

Open FarukonCGH opened this issue 5 years ago • 2 comments

Describe the bug When browsing a report I expand any suite and click on any test under it. Subsequently I collapse the suite, and expand another one. The previous suite is also expanded.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Suites'
  2. Click on 'any suite'
  3. Click on 'any test under the suite'
  4. Collapse the suite - Click on the down-facing arrow-head left to the suite's name.
  5. Expand another suite.
  6. Click on any test under the second suite.
  7. See error: the suite expanded as first is also auto-expanded.

Expected behavior Only the current suite is expanded.

Screenshots I cannot attach screenshots with UI, because of the nature of the project. I'm attaching screenshots of Chrome's dev tools: you can see, that despite collapsing a suite, its node's children's (tests) css classes are still 'expanded'. You can also see that upon expanding any suite all previously expanded and collapsed suites get expanded automatically. 1. allure-snapshot1 2. allure-snapshot2 3. allure-snapshot3 4. allure-snapshot4 5. allure-snapshot5 6. allure-snapshot6 7. allure-snapshot7

Environment (please complete the following information):

Allure version 2.13.6
Test framework [email protected]
Allure adaptor [email protected]
Generate report using [email protected]

Additional context Tested on Windows10 Enterprise with:

  1. Edge Version 86.0.622.51 (Official build) (64-bit)
  2. Chrome Version 86.0.4240.111 (Official Build) (64-bit)
  3. Firefox 82.0 (64-bit)
  4. Opera Version 72.0.3815.148 (64-bit)

FarukonCGH avatar Oct 26 '20 15:10 FarukonCGH

allure-report-badly-wokring-tree-in-packages

rebajz avatar Feb 10 '21 19:02 rebajz

@baev Is this planned to be fixed? Thanks for reply

rebajz avatar Oct 21 '21 12:10 rebajz