Forráskód Böngészése

add delays to improve test stability

Rodja Trappe 1 hónapja
szülő
commit
57fdf434ed
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      tests/test_dialog.py

+ 2 - 0
tests/test_dialog.py

@@ -32,10 +32,12 @@ def test_await_dialog(screen: Screen):
 
     screen.open('/')
     screen.click('Open')
+    screen.wait(0.2)
     screen.click('Yes')
     screen.should_contain('Result: Yes')
 
     screen.click('Open')
+    screen.wait(0.2)
     screen.click('No')
     screen.should_contain('Result: No')