Browse Source

try to fix flaky keyboard test

Rodja Trappe 2 years ago
parent
commit
37059ab1b7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/test_keyboard.py

+ 1 - 0
tests/test_keyboard.py

@@ -15,4 +15,5 @@ def test_keyboard(screen: Screen):
     ActionChains(screen.selenium) \
         .send_keys('t') \
         .perform()
+    screen.wait(0.5)
     screen.should_contain('t, KeyboardAction(keydown=False, keyup=True, repeat=False)')