浏览代码

add delay to fight flakyness

Rodja Trappe 1 年之前
父节点
当前提交
bccd120f0a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/test_select.py

+ 1 - 0
tests/test_select.py

@@ -83,6 +83,7 @@ def test_set_options(screen:  Screen):
 
     screen.open('/')
     screen.click('4, 5, 6')
+    screen.wait(0.5)
     screen.find_by_class('q-select').click()
     items = [item.text for item in screen.find_all_by_class('q-item')]
     assert items == ['4', '5', '6']