From f6a48b079b085e45c0e017ebf5504a270376a3ad Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sun, 23 Nov 2025 07:41:52 +0100 Subject: [PATCH] Attempt to fix q button test on macOS --- tests/test_graphical_keyboard_q_button_bug.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_graphical_keyboard_q_button_bug.py b/tests/test_graphical_keyboard_q_button_bug.py index b52dde6e..dae8e307 100644 --- a/tests/test_graphical_keyboard_q_button_bug.py +++ b/tests/test_graphical_keyboard_q_button_bug.py @@ -72,7 +72,7 @@ class TestKeyboardQButton(unittest.TestCase): keyboard = MposKeyboard(self.screen) keyboard.set_textarea(textarea) keyboard.align(lv.ALIGN.BOTTOM_MID, 0, 0) - wait_for_render(10) + wait_for_render(20) # increased from 10 to 20 because on macOS this didnt work print(f"Initial textarea: '{textarea.get_text()}'") self.assertEqual(textarea.get_text(), "", "Textarea should start empty") @@ -90,7 +90,7 @@ class TestKeyboardQButton(unittest.TestCase): # Click the 'q' button print(f"Clicking 'q' button at ({q_coords['center_x']}, {q_coords['center_y']})") simulate_click(q_coords['center_x'], q_coords['center_y']) - wait_for_render(10) + wait_for_render(20) # increased from 10 to 20 because on macOS this didnt work # Check textarea content text_after_q = textarea.get_text()