1
0
Эх сурвалжийг харах

added timing to prevent flakyness

Rodja Trappe 2 жил өмнө
parent
commit
39b764868b
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      tests/test_time.py

+ 3 - 0
tests/test_time.py

@@ -11,10 +11,13 @@ def test_time(screen: Screen):
     screen.should_contain('01:23')
 
     screen.click('8')
+    screen.wait(0.1)
     screen.should_contain('08:23')
 
     screen.click('45')
+    screen.wait(0.1)
     screen.should_contain('08:45')
 
     screen.click('PM')
+    screen.wait(0.1)
     screen.should_contain('20:45')