File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
py/test/selenium/webdriver/common Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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" )
194195def 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" )
201204def test_finding_multiple_elements_by_empty_tag_name_should_throw (driver , pages ):
202205 pages .load ("formPage.html" )
You can’t perform that action at this time.
0 commit comments