Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add End-to-End-Tests for multilevel accordions #3431

Open
Tracked by #3381
schaertim opened this issue Aug 20, 2024 · 0 comments · May be fixed by #3634
Open
Tracked by #3381

Add End-to-End-Tests for multilevel accordions #3431

schaertim opened this issue Aug 20, 2024 · 0 comments · May be fixed by #3634
Assignees
Labels
📦 components Related to the @swisspost/design-system-components package ❇️ good first issue Good for newcomers v8 v9

Comments

@schaertim
Copy link
Contributor

schaertim commented Aug 20, 2024

The tests should make sure the opening/closing logic of accordion items works as expected in multilevel accordions, especially for the case where multiple open items are not allowed.

Possible testcases could be:

  • Open top level item
  • Open lower level item
  • Open another lower level item

=> First lower level item should close and the second lower level item should be open

  • Wrap lower level accordion item inside div
  • Repeat test described above

=> Same behavior as above

@gfellerph gfellerph added the 📦 components Related to the @swisspost/design-system-components package label Aug 20, 2024
@leagrdv leagrdv self-assigned this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 components Related to the @swisspost/design-system-components package ❇️ good first issue Good for newcomers v8 v9
Projects
Status: 🤬 Dev in review
Development

Successfully merging a pull request may close this issue.

3 participants