File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 2020
2121 steps :
2222 - uses : actions/checkout@v2
23+ - uses : browser-actions/setup-chrome@latest
24+ with :
25+ chrome-version : 95
2326 - uses : conda-incubator/setup-miniconda@v2
2427 with :
2528 auto-update-conda : true
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ includes:
99environment :
1010 # Tip: Use `--driver <driver_name>` to change driver for a single run
1111 {% if TEST_QMXGRAPH %}
12- PYTEST_ADDOPTS : --driver Firefox
12+ PYTEST_ADDOPTS : --driver Chrome
1313 {% endif %}
1414
1515dependencies :
@@ -18,8 +18,7 @@ dependencies:
1818 {% if TEST_QMXGRAPH %}
1919 - cherrypy
2020 - hypothesis =3.11
21- - firefox
22- - geckodriver
21+ - python-chromedriver-binary =95
2322 - pytest-mock
2423 - pytest-qt
2524 - pytest-rerunfailures
Original file line number Diff line number Diff line change 44
55
66def pytest_configure (config ):
7+ # Adds chromedriver binary to path.
8+ import chromedriver_binary # noqa
9+
710 # During warm up, clean up the temporary files/objects used by ports
811 # fixture from previous runs. Note these files are shared among ALL slaves
912 # of pytest so they can't reliably be removed by a fixture.
@@ -16,9 +19,9 @@ def pytest_configure(config):
1619
1720# Fixtures --------------------------------------------------------------------
1821@pytest .fixture
19- def firefox_options ( firefox_options ):
20- firefox_options .headless = True
21- return firefox_options
22+ def chrome_options ( chrome_options ):
23+ chrome_options .headless = True
24+ return chrome_options
2225
2326
2427@pytest .fixture (autouse = True )
You can’t perform that action at this time.
0 commit comments