Skip to content

Commit dffd061

Browse files
committed
[py] window rect commands should fail on firefox and remote (legacy)
1 parent 88124a1 commit dffd061

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,12 @@ def test_should_set_the_position_of_the_current_window(driver):
8282

8383
@pytest.mark.xfail_chrome(raises=WebDriverException,
8484
reason='Get Window Rect command not implemented')
85+
@pytest.mark.xfail_firefox(raises=WebDriverException,
86+
reason='Get Window Rect command not implemented')
8587
@pytest.mark.xfail_phantomjs(raises=WebDriverException,
8688
reason='Get Window Rect command not implemented')
89+
@pytest.mark.xfail_remote(raises=WebDriverException,
90+
reason='Get Window Rect command not implemented')
8791
@pytest.mark.xfail_safari(raises=WebDriverException,
8892
reason='Get Window Rect command not implemented')
8993
def test_should_get_the_rect_of_the_current_window(driver):
@@ -96,8 +100,12 @@ def test_should_get_the_rect_of_the_current_window(driver):
96100

97101
@pytest.mark.xfail_chrome(raises=WebDriverException,
98102
reason='Get Window Rect command not implemented')
103+
@pytest.mark.xfail_firefox(raises=WebDriverException,
104+
reason='Get Window Rect command not implemented')
99105
@pytest.mark.xfail_phantomjs(raises=WebDriverException,
100106
reason='Get Window Rect command not implemented')
107+
@pytest.mark.xfail_remote(raises=WebDriverException,
108+
reason='Get Window Rect command not implemented')
101109
@pytest.mark.xfail_safari(raises=WebDriverException,
102110
reason='Get Window Rect command not implemented')
103111
def test_should_set_the_rect_of_the_current_window(driver):

0 commit comments

Comments
 (0)