File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -50,12 +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 ()
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
+
58
+ footer_key_clicked = await pilot .click ("FooterKey" )
59
+ assert footer_key_clicked is True # Sanity check
57
60
await pilot .pause ()
58
61
assert app_binding_count == 1
59
- await pilot .click ("Footer" )
62
+
63
+ footer_key_clicked = await pilot .click ("FooterKey" )
64
+ assert footer_key_clicked is True # Sanity check
60
65
await pilot .pause ()
61
66
assert app_binding_count == 2
You can’t perform that action at this time.
0 commit comments