Skip to content

Commit bee4570

Browse files
authored
fix(test): Add row focus state checks in edit mode test (#2068)
1 parent bf1415d commit bee4570

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/playwright/shiny/components/data_frame/validate_row_selection_edit_mode/test_validate_row_selection_edit_mode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def test_validate_row_selection_in_edit_mode(
7575
# Tab to the column name, hit enter. Verify the table becomes sorted.
7676
# Tab to an HTML column name, hit enter. Verify the sort does not update.
7777
page.keyboard.press("Escape")
78+
data_frame._expect_row_focus_state(True, row=1)
7879
page.keyboard.press("Escape")
80+
data_frame._expect_row_focus_state(False, row=1)
7981
page.keyboard.press("Tab")
8082
page.keyboard.press("Tab") # tab to sample number
8183
page.keyboard.press("Enter")

0 commit comments

Comments
 (0)