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

Closed
Tracked by #3381
schaertim opened this issue Aug 20, 2024 · 0 comments · Fixed by #3634
Closed
Tracked by #3381

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

schaertim opened this issue Aug 20, 2024 · 0 comments · 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
@gfellerph gfellerph added the good first issue Good for newcomers label Aug 28, 2024
@gfellerph gfellerph moved this from 👀 Triage to 💻 Ready for development in Design System Production Board Aug 28, 2024
@leagrdv leagrdv self-assigned this Oct 3, 2024
@github-project-automation github-project-automation bot moved this from 🤬 Dev in review to 🚀 Done in Design System Production Board Oct 11, 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: 🚀 Done
Development

Successfully merging a pull request may close this issue.

3 participants