Skip to content

Commit b855bf6

Browse files
committed
[py] Re-add some xfails
1 parent 4fff344 commit b855bf6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

py/test/selenium/webdriver/common/driver_element_finding_tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,17 @@ def test_should_not_be_able_to_locate_by_tag_name_multiple_elements_that_do_not_
189189
assert len(elements) == 0
190190

191191

192-
@pytest.mark.xfail_safari(reason="unlike chrome, safari raises NoSuchElementException")
193192
@pytest.mark.xfail_firefox(reason="unlike chrome, firefox raises NoSuchElementException")
193+
@pytest.mark.xfail_remote(reason="some browsers raise NoSuchElementException")
194+
@pytest.mark.xfail_safari(reason="unlike chrome, safari raises NoSuchElementException")
194195
def test_finding_asingle_element_by_empty_tag_name_should_throw(driver, pages):
195196
pages.load("formPage.html")
196197
with pytest.raises(InvalidSelectorException):
197198
driver.find_element(By.TAG_NAME, "")
198199

199200

201+
@pytest.mark.xfail_firefox(reason="unlike chrome, firefox returns an empty list")
202+
@pytest.mark.xfail_remote(reason="some browsers return an empty list")
200203
@pytest.mark.xfail_safari(reason="unlike chrome, safari returns an empty list")
201204
def test_finding_multiple_elements_by_empty_tag_name_should_throw(driver, pages):
202205
pages.load("formPage.html")

0 commit comments

Comments
 (0)