Skip to content

Commit a7d941f

Browse files
committed
test(footer): comment the pause and checks
1 parent 0d1009f commit a7d941f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/footer/test_footer.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@ def action_app_binding(self) -> None:
5050

5151
app = PriorityBindingApp()
5252
async with app.run_test() as pilot:
53-
await pilot.pause(0.4)
5453
assert app_binding_count == 0
54+
# Pause to ensure the footer is fully composed to avoid flakiness in CI
55+
await pilot.pause(0.4)
5556
await app.wait_for_refresh()
56-
# await pilot.click("Footer", offset=(1, 0))
57+
5758
footer_key_clicked = await pilot.click("FooterKey")
58-
assert footer_key_clicked
59+
assert footer_key_clicked is True # Sanity check
5960
await pilot.pause()
6061
assert app_binding_count == 1
61-
# await pilot.click("Footer")
62+
6263
footer_key_clicked = await pilot.click("FooterKey")
63-
assert footer_key_clicked
64+
assert footer_key_clicked is True # Sanity check
6465
await pilot.pause()
6566
assert app_binding_count == 2

0 commit comments

Comments
 (0)