Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Jul 8, 2024
1 parent 2ec788b commit 8d5dd19
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tests/test_infobox.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from aiidalab_qe.app.infobox import InfoBox
from aiidalab_qe.app.infobox import InAppGuide, InfoBox


def test_infobox_classes():
Expand All @@ -13,3 +13,17 @@ def test_infobox_classes():
"custom-info-box",
)
)


def test_in_app_guide():
"""Test `InAppGuide` class."""
guide_class = "some_guide"
in_app_guide = InAppGuide(guide_class=guide_class)
assert all(
css_class in in_app_guide._dom_classes
for css_class in (
"info-box",
"in-app-guide",
guide_class,
)
)

0 comments on commit 8d5dd19

Please sign in to comment.