Skip to content

Commit 2d8f51d

Browse files
committed
[py] update xfail for window positioning tests on Firefox
1 parent 058d516 commit 2d8f51d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ def test_is_element_displayed(driver, pages):
240240

241241

242242
@pytest.mark.xfail_chrome
243+
@pytest.mark.xfail_firefox(reason='https://github.com/mozilla/geckodriver/issues/2042')
243244
def test_move_window_position(driver, pages):
244245
pages.load("blank.html")
245246
loc = driver.get_window_position()

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def test_should_get_the_rect_of_the_current_window(driver):
9191
assert rect.get('height') >= 0
9292

9393

94+
@pytest.mark.xfail_firefox(reason='https://github.com/mozilla/geckodriver/issues/2042')
9495
@pytest.mark.xfail_safari(raises=WebDriverException,
9596
reason='Get Window Rect command not implemented')
9697
def test_should_set_the_rect_of_the_current_window(driver):

0 commit comments

Comments
 (0)