浏览代码

lower selenium timeouts are still working fine

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

+ 2 - 2
tests/conftest.py

@@ -16,8 +16,8 @@ def chrome_options(chrome_options):
 
 @pytest.fixture
 def selenium(selenium):
-    selenium.implicitly_wait(2)
-    selenium.set_page_load_timeout(5)
+    selenium.implicitly_wait(0.1)
+    selenium.set_page_load_timeout(1)
     return selenium