File tree Expand file tree Collapse file tree 3 files changed +30
-7
lines changed
py/test/unit/selenium/webdriver/remote Expand file tree Collapse file tree 3 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 1111 with :
1212 name : Build
1313 cache-key : py-build
14- run : bazel build //py:selenium-wheel //py:selenium-sdist
14+ run : |
15+ bazel build //py:selenium-wheel //py:selenium-sdist
1516
1617 docs :
1718 name : Documentation
2930 python -m pip install --upgrade pip
3031 pip install tox==4.30.2
3132 - name : Generate docs
32- run : tox -c py/tox.ini
33+ run : |
34+ tox -c py/tox.ini
3335 env :
3436 TOXENV : docs
3537
6870 name : Unit Tests (${{ matrix.os }})
6971 os : ${{ matrix.os }}
7072 cache-key : python-unit-test-${{ matrix.os }}
71- run : bazel test //py:unit
73+ run : |
74+ bazel test //py:unit
7275
7376 remote-tests :
7477 name : Remote Tests
8386 name : Integration Tests (remote, ${{ matrix.browser }})
8487 browser : ${{ matrix.browser }}
8588 cache-key : py-remote-${{ matrix.browser }}
86- run : bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote
89+ run : |
90+ bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote
8791
8892 browser-tests :
8993 name : Browser Tests
@@ -107,7 +111,28 @@ jobs:
107111 run : |
108112 bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }}
109113
110- safari-tests :
114+ browser-tests-windows :
115+ name : Browser Tests
116+ needs : build
117+ uses : ./.github/workflows/bazel.yml
118+ strategy :
119+ fail-fast : false
120+ matrix :
121+ include :
122+ - browser : chrome
123+ os : windows
124+ - browser : edge
125+ os : windows
126+ with :
127+ name : Integration Tests (${{ matrix.browser }}, ${{ matrix.os }})
128+ browser : ${{ matrix.browser }}
129+ os : ${{ matrix.os }}
130+ cache-key : py-browser-${{ matrix.browser }}
131+ run : |
132+ fsutil 8dot3name set 0
133+ bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }}
134+
135+ browser-tests-macos :
111136 name : Browser Tests
112137 needs : build
113138 uses : ./.github/workflows/bazel.yml
Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717
18-
1918from importlib import import_module
2019
2120import pytest
Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717
18-
1918from selenium .webdriver .remote .webdriver import WebDriver , WebElement
2019
2120
You can’t perform that action at this time.
0 commit comments