From a7d941f510c10074f5af7c51c7bce18744c3f23c Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Fri, 8 Aug 2025 14:03:13 +0100 Subject: [PATCH] test(footer): comment the pause and checks --- tests/footer/test_footer.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/footer/test_footer.py b/tests/footer/test_footer.py index 09d32badd..856207129 100644 --- a/tests/footer/test_footer.py +++ b/tests/footer/test_footer.py @@ -50,16 +50,17 @@ async def test_footer_bindings() -> None: app = PriorityBindingApp() async with app.run_test() as pilot: - await pilot.pause(0.4) assert app_binding_count == 0 + # Pause to ensure the footer is fully composed to avoid flakiness in CI + await pilot.pause(0.4) await app.wait_for_refresh() - # await pilot.click("Footer", offset=(1, 0)) + footer_key_clicked = await pilot.click("FooterKey") - assert footer_key_clicked + assert footer_key_clicked is True # Sanity check await pilot.pause() assert app_binding_count == 1 - # await pilot.click("Footer") + footer_key_clicked = await pilot.click("FooterKey") - assert footer_key_clicked + assert footer_key_clicked is True # Sanity check await pilot.pause() assert app_binding_count == 2