Skip to content

Commit 109c25a

Browse files
[py] xfail tests that are not working for Chrome
1 parent 06b5bdb commit 109c25a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

py/test/selenium/webdriver/common/api_example_tests.py

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def testIsElementDisplayed(driver, pages):
238238
assert not not_visible
239239

240240

241+
@pytest.mark.xfail_chrome
241242
def testMoveWindowPosition(driver, pages):
242243
pages.load("blank.html")
243244
loc = driver.get_window_position()

py/test/selenium/webdriver/common/window_tests.py

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_should_set_the_size_of_the_current_window(driver):
5858
assert new_size.get('height') == target_height
5959

6060

61+
@pytest.mark.xfail_chrome
6162
def test_should_get_the_position_of_the_current_window(driver):
6263
position = driver.get_window_position()
6364
assert position.get('x') >= 0
@@ -81,6 +82,7 @@ def test_should_set_the_position_of_the_current_window(driver):
8182

8283
@pytest.mark.xfail_safari(raises=WebDriverException,
8384
reason='Get Window Rect command not implemented')
85+
@pytest.mark.xfail_chrome
8486
def test_should_get_the_rect_of_the_current_window(driver):
8587
rect = driver.get_window_rect()
8688
assert rect.get('x') >= 0

0 commit comments

Comments
 (0)