(themed_app: Page, assert_snapshot: ImageCompareFunction)
| 66 | |
| 67 | |
| 68 | def test_link_button_hover(themed_app: Page, assert_snapshot: ImageCompareFunction): |
| 69 | link_elements = themed_app.get_by_test_id("stLinkButton") |
| 70 | expect(link_elements).to_have_count(LINK_BUTTON_ELEMENTS) |
| 71 | |
| 72 | default_link_button = themed_app.get_by_test_id("stLinkButton").nth(0) |
| 73 | themed_app.get_by_text("Default Link").hover() |
| 74 | assert_snapshot(default_link_button, name="st_link_button-default_hover") |
| 75 | |
| 76 | primary_link_button = themed_app.get_by_test_id("stLinkButton").nth(2) |
| 77 | themed_app.get_by_text("Primary Link").hover() |
| 78 | assert_snapshot(primary_link_button, name="st_link_button-primary_hover") |
| 79 | |
| 80 | tertiary_link_button = themed_app.get_by_test_id("stLinkButton").nth(8) |
| 81 | themed_app.get_by_text("Tertiary link button").hover() |
| 82 | assert_snapshot(tertiary_link_button, name="st_link_button-tertiary_hover") |
| 83 | |
| 84 | |
| 85 | def test_check_top_level_class(app: Page): |
nothing calls this directly
no test coverage detected
searching dependent graphs…