-
Notifications
You must be signed in to change notification settings - Fork 502
/
tox.ini
58 lines (51 loc) · 1.75 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[testenv:tests_splinter]
extras = zope.testbrowser, django, flask
deps = -rrequirements/test.txt
commands =
pytest --ignore-flaky -v {posargs} tests/test_browser.py tests/test_element_list.py tests/test_request_handler.py tests/test_xpath_concat.py
[testenv:tests_lxml_drivers]
extras = zope.testbrowser, django, flask
deps = -rrequirements/test.txt
commands =
pytest --ignore-flaky -v {posargs} tests/test_flaskclient.py tests/test_zopetestbrowser.py tests/test_djangoclient.py tests/test_is_element_present_nojs.py
[testenv:tests_selenium]
extras = selenium
deps =
-rrequirements/test.txt
commands =
pytest --ignore-flaky -m "not macos" -v {posargs} tests/test_element_is_visible.py tests/test_screenshot.py tests/test_shadow_root.py tests/test_mouse_interaction.py tests/test_async_finder.py tests/test_html_snapshot.py tests/test_iframes.py tests/test_popups.py tests/test_webdriver.py tests/test_webdriver_firefox.py tests/test_webdriver_chrome.py
[testenv:tests_selenium_remote]
extras = selenium
deps =
-rrequirements/test.txt
commands =
pytest --ignore-flaky -v {posargs} tests/test_webdriver_remote.py
[testenv:tests_selenium_edge]
extras = selenium
deps =
-rrequirements\test_windows.txt
passenv =
EDGEWEBDRIVER
commands =
pytest --ignore-flaky -v {posargs} tests/test_webdriver.py tests/test_popups.py tests/test_webdriver_edge_chromium.py
[testenv:tests_selenium_safari]
extras = selenium
deps =
-rrequirements/test.txt
commands =
pytest --ignore-flaky -m macos -v {posargs}
[testenv:build_docs]
allowlist_externals = make
deps =
-rrequirements/doc.txt
changedir = docs/
commands =
make clean
make {posargs}
[testenv:lint]
skip_install =
true
deps =
pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure