File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,17 @@ def action_app_binding(self) -> None:
50
50
51
51
app = PriorityBindingApp ()
52
52
async with app .run_test () as pilot :
53
- await pilot .pause (0.4 )
54
53
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 )
55
56
await app .wait_for_refresh ()
56
- # await pilot.click("Footer", offset=(1, 0))
57
+
57
58
footer_key_clicked = await pilot .click ("FooterKey" )
58
- assert footer_key_clicked
59
+ assert footer_key_clicked is True # Sanity check
59
60
await pilot .pause ()
60
61
assert app_binding_count == 1
61
- # await pilot.click("Footer")
62
+
62
63
footer_key_clicked = await pilot .click ("FooterKey" )
63
- assert footer_key_clicked
64
+ assert footer_key_clicked is True # Sanity check
64
65
await pilot .pause ()
65
66
assert app_binding_count == 2
You can’t perform that action at this time.
0 commit comments