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

bslib::accordion() tests #152

Merged
merged 11 commits into from
Mar 8, 2023
Merged

bslib::accordion() tests #152

merged 11 commits into from
Mar 8, 2023

Conversation

cpsievert
Copy link
Contributor

@cpsievert cpsievert commented Mar 3, 2023

This PR adds two tests:

  1. 306-accordion-add-remove: This app primarily tests accordion_panel_insert(), accordion_panel_remove(), accordion_panel_set(), and accordion_panel_open(). It also takes screenshots (instead of testing markup) since it implicitly depends on compliance with Bootstrap markup. Note that we also use an accordion() inside a sidebar() here to ensure it renders flush with the sidebar.
  2. 307-accordion-replace: Primarily tests accordion_panel_update()

@cpsievert cpsievert changed the title Automated tests for bslib::accordion() bslib::accordion() tests Mar 3, 2023
@cpsievert cpsievert marked this pull request as ready for review March 6, 2023 21:51
@cpsievert cpsievert requested a review from schloerke March 6, 2023 21:51
@cpsievert
Copy link
Contributor Author

@cpsievert cpsievert merged commit 7dea260 into main Mar 8, 2023
@cpsievert cpsievert deleted the bslib-accordion-sidebar branch March 8, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant