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 11
11
with :
12
12
name : Build
13
13
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
15
16
16
17
docs :
17
18
name : Documentation
29
30
python -m pip install --upgrade pip
30
31
pip install tox==4.30.2
31
32
- name : Generate docs
32
- run : tox -c py/tox.ini
33
+ run : |
34
+ tox -c py/tox.ini
33
35
env :
34
36
TOXENV : docs
35
37
68
70
name : Unit Tests (${{ matrix.os }})
69
71
os : ${{ matrix.os }}
70
72
cache-key : python-unit-test-${{ matrix.os }}
71
- run : bazel test //py:unit
73
+ run : |
74
+ bazel test //py:unit
72
75
73
76
remote-tests :
74
77
name : Remote Tests
83
86
name : Integration Tests (remote, ${{ matrix.browser }})
84
87
browser : ${{ matrix.browser }}
85
88
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
87
91
88
92
browser-tests :
89
93
name : Browser Tests
@@ -107,7 +111,28 @@ jobs:
107
111
run : |
108
112
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }}
109
113
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 :
111
136
name : Browser Tests
112
137
needs : build
113
138
uses : ./.github/workflows/bazel.yml
Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
-
19
18
from importlib import import_module
20
19
21
20
import pytest
Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
-
19
18
from selenium .webdriver .remote .webdriver import WebDriver , WebElement
20
19
21
20
You can’t perform that action at this time.
0 commit comments