Skip to content

Commit 996bb44

Browse files
committed
Update tests
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 4aba58e commit 996bb44

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Diff for: .github/workflows/ci-python.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,4 @@ jobs:
9696
browser: safari
9797
os: macos-15
9898
cache-key: py-safari
99-
run: |
100-
bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-safari
99+
run: bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-safari

Diff for: py/test/selenium/webdriver/common/executing_async_javascript_tests.py

-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ def test_should_catch_errors_when_executing_initial_script(driver, pages):
152152
driver.execute_async_script("throw Error('you should catch this!');")
153153

154154

155-
@pytest.mark.xfail_safari
156155
def test_should_be_able_to_execute_asynchronous_scripts(driver, pages):
157156
pages.load("ajaxy_page.html")
158157

Diff for: py/test/selenium/webdriver/common/upload_tests.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# under the License.
1717

1818
import os
19+
import textwrap
1920

2021
import pytest
2122

@@ -30,7 +31,8 @@ def get_local_path():
3031
current_dir = os.path.dirname(os.path.realpath(__file__))
3132

3233
def wrapped(filename):
33-
return os.path.join(current_dir, filename)
34+
full_path = os.path.join(current_dir, filename)
35+
return textwrap.fill(full_path, width=512)
3436

3537
return wrapped
3638

Diff for: py/test/selenium/webdriver/common/webdriverwait_tests.py

-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ def test_expected_condition_element_to_be_clickable(driver, pages):
284284
assert element.is_displayed() is False
285285

286286

287-
@pytest.mark.xfail_safari
288287
def test_expected_condition_staleness_of(driver, pages):
289288
pages.load("dynamicallyModifiedPage.html")
290289
element = driver.find_element(By.ID, "element-to-remove")

0 commit comments

Comments
 (0)