Skip to content

Commit ad63a57

Browse files
committed
debug
1 parent 1ec7fa8 commit ad63a57

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_modal.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,14 @@ async def test_modal_pop_screen():
9191
# Pause to ensure the footer is fully composed to avoid flakiness in CI
9292
await pilot.pause()
9393
await app.wait_for_refresh()
94+
print(1, app.screen)
9495
# Check clicking the footer brings up the quit screen
9596
assert await pilot.click(offset=(1, app.size.height - 1))
97+
print(2, app.screen)
9698
await app.wait_for_refresh()
97-
await pilot.pause(1 / 10)
99+
print(3, app.screen)
100+
await pilot.pause(1)
101+
print(4, app.screen)
98102
assert isinstance(app.screen, QuitScreen)
99103
# Check activating the quit button exits the app
100104
await pilot.press("enter")

0 commit comments

Comments
 (0)