Skip to content

Commit 953f348

Browse files
committed
Remove some invalid ignore comments for Marionette in python tests
1 parent d09ef3b commit 953f348

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,11 @@ def test_Finding_Multiple_Elements_By_Empty_Name_Should_Return_Empty_List(self):
122122
elements = self.driver.find_elements(By.NAME, "")
123123
self.assertEqual(len(elements), 0)
124124

125-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
126125
def test_Finding_ASingle_Element_By_Name_With_Space_Should_Throw(self):
127126
self._load_page("formPage")
128127
with pytest.raises(NoSuchElementException):
129128
self.driver.find_element(By.NAME, "nonexistent button")
130129

131-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
132130
def test_Finding_Multiple_Elements_By_Name_With_Space_Should_Return_Empty_List(self):
133131
self._load_page("formPage")
134132
elements = self.driver.find_elements(By.NAME, "nonexistent button")
@@ -326,53 +324,44 @@ def test_Should_Throw_An_Exception_When_There_Is_No_Link_To_Click(self):
326324
with pytest.raises(NoSuchElementException):
327325
self.driver.find_element(By.XPATH, "//a[@id='Not here']")
328326

329-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
330-
331327
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Driver_Find_Element(self):
332328
self._load_page("formPage")
333329
with pytest.raises(InvalidSelectorException):
334330
self.driver.find_element(By.XPATH, "this][isnot][valid")
335331

336-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
337332
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Driver_Find_Elements(self):
338333
self._load_page("formPage")
339334
with pytest.raises(InvalidSelectorException):
340335
self.driver.find_elements(By.XPATH, "this][isnot][valid")
341336

342-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
343337
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Element_Find_Element(self):
344338
self._load_page("formPage")
345339
body = self.driver.find_element(By.TAG_NAME, "body")
346340
with pytest.raises(InvalidSelectorException):
347341
body.find_element(By.XPATH, "this][isnot][valid")
348342

349-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
350343
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Element_Find_Elements(self):
351344
self._load_page("formPage")
352345
body = self.driver.find_element(By.TAG_NAME, "body")
353346
with pytest.raises(InvalidSelectorException):
354347
body.find_elements(By.XPATH, "this][isnot][valid")
355348

356-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
357349
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Driver_Find_Element(self):
358350
self._load_page("formPage")
359351
with pytest.raises(InvalidSelectorException):
360352
self.driver.find_element(By.XPATH, "count(//input)")
361353

362-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
363354
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Driver_Find_Elements(self):
364355
self._load_page("formPage")
365356
with pytest.raises(InvalidSelectorException):
366357
self.driver.find_elements(By.XPATH, "count(//input)")
367358

368-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
369359
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Element_Find_Element(self):
370360
self._load_page("formPage")
371361
body = self.driver.find_element(By.TAG_NAME, "body")
372362
with pytest.raises(InvalidSelectorException):
373363
body.find_element(By.XPATH, "count(//input)")
374364

375-
#Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
376365
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Element_Find_Elements(self):
377366
self._load_page("formPage")
378367
body = self.driver.find_element(By.TAG_NAME, "body")
@@ -479,7 +468,6 @@ def test_Should_Find_Multiple_Elements_By_Link_Text_Containing_Equals_Sign(self)
479468
self.assertEquals(1, len(elements))
480469
self.assertEqual(elements[0].get_attribute("id"), "linkWithEqualsSign")
481470

482-
#Ignore({MARIONETTE})
483471
def finds_By_Link_Text_On_Xhtml_Page(self):
484472
self.driver.get(self.webserver.where_is("actualXhtmlPage.xhtml"))
485473
link_Text = "Foo"
@@ -493,7 +481,6 @@ def test_Link_With_Formatting_Tags(self):
493481
res = elem.find_element(By.PARTIAL_LINK_TEXT, "link with formatting tags")
494482
self.assertEqual(res.text, "link with formatting tags")
495483

496-
#Ignore(MARIONETTE)
497484
def test_Driver_Can_Get_Link_By_Link_Test_Ignoring_Trailing_Whitespace(self):
498485
self._load_page("simpleTest")
499486
link = self.driver.find_element(By.LINK_TEXT, "link with trailing space")

0 commit comments

Comments
 (0)