Explorar o código

try to fix flaky keyboard test

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
37059ab1b7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)')