Skip to content

Commit f6a48b0

Browse files
Attempt to fix q button test on macOS
1 parent cccce96 commit f6a48b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_graphical_keyboard_q_button_bug.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_q_button_works(self):
7272
keyboard = MposKeyboard(self.screen)
7373
keyboard.set_textarea(textarea)
7474
keyboard.align(lv.ALIGN.BOTTOM_MID, 0, 0)
75-
wait_for_render(10)
75+
wait_for_render(20) # increased from 10 to 20 because on macOS this didnt work
7676

7777
print(f"Initial textarea: '{textarea.get_text()}'")
7878
self.assertEqual(textarea.get_text(), "", "Textarea should start empty")
@@ -90,7 +90,7 @@ def test_q_button_works(self):
9090
# Click the 'q' button
9191
print(f"Clicking 'q' button at ({q_coords['center_x']}, {q_coords['center_y']})")
9292
simulate_click(q_coords['center_x'], q_coords['center_y'])
93-
wait_for_render(10)
93+
wait_for_render(20) # increased from 10 to 20 because on macOS this didnt work
9494

9595
# Check textarea content
9696
text_after_q = textarea.get_text()

0 commit comments

Comments
 (0)