@@ -122,13 +122,11 @@ def test_Finding_Multiple_Elements_By_Empty_Name_Should_Return_Empty_List(self):
122
122
elements = self .driver .find_elements (By .NAME , "" )
123
123
self .assertEqual (len (elements ), 0 )
124
124
125
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
126
125
def test_Finding_ASingle_Element_By_Name_With_Space_Should_Throw (self ):
127
126
self ._load_page ("formPage" )
128
127
with pytest .raises (NoSuchElementException ):
129
128
self .driver .find_element (By .NAME , "nonexistent button" )
130
129
131
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
132
130
def test_Finding_Multiple_Elements_By_Name_With_Space_Should_Return_Empty_List (self ):
133
131
self ._load_page ("formPage" )
134
132
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):
326
324
with pytest .raises (NoSuchElementException ):
327
325
self .driver .find_element (By .XPATH , "//a[@id='Not here']" )
328
326
329
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
330
-
331
327
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Driver_Find_Element (self ):
332
328
self ._load_page ("formPage" )
333
329
with pytest .raises (InvalidSelectorException ):
334
330
self .driver .find_element (By .XPATH , "this][isnot][valid" )
335
331
336
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
337
332
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Driver_Find_Elements (self ):
338
333
self ._load_page ("formPage" )
339
334
with pytest .raises (InvalidSelectorException ):
340
335
self .driver .find_elements (By .XPATH , "this][isnot][valid" )
341
336
342
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
343
337
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Element_Find_Element (self ):
344
338
self ._load_page ("formPage" )
345
339
body = self .driver .find_element (By .TAG_NAME , "body" )
346
340
with pytest .raises (InvalidSelectorException ):
347
341
body .find_element (By .XPATH , "this][isnot][valid" )
348
342
349
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
350
343
def test_Should_Throw_InvalidSelectorException_When_XPath_Is_Syntactically_Invalid_In_Element_Find_Elements (self ):
351
344
self ._load_page ("formPage" )
352
345
body = self .driver .find_element (By .TAG_NAME , "body" )
353
346
with pytest .raises (InvalidSelectorException ):
354
347
body .find_elements (By .XPATH , "this][isnot][valid" )
355
348
356
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
357
349
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Driver_Find_Element (self ):
358
350
self ._load_page ("formPage" )
359
351
with pytest .raises (InvalidSelectorException ):
360
352
self .driver .find_element (By .XPATH , "count(//input)" )
361
353
362
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
363
354
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Driver_Find_Elements (self ):
364
355
self ._load_page ("formPage" )
365
356
with pytest .raises (InvalidSelectorException ):
366
357
self .driver .find_elements (By .XPATH , "count(//input)" )
367
358
368
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
369
359
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Element_Find_Element (self ):
370
360
self ._load_page ("formPage" )
371
361
body = self .driver .find_element (By .TAG_NAME , "body" )
372
362
with pytest .raises (InvalidSelectorException ):
373
363
body .find_element (By .XPATH , "count(//input)" )
374
364
375
- #Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504")
376
365
def test_Should_Throw_InvalidSelectorException_When_XPath_Returns_Wrong_Type_In_Element_Find_Elements (self ):
377
366
self ._load_page ("formPage" )
378
367
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)
479
468
self .assertEquals (1 , len (elements ))
480
469
self .assertEqual (elements [0 ].get_attribute ("id" ), "linkWithEqualsSign" )
481
470
482
- #Ignore({MARIONETTE})
483
471
def finds_By_Link_Text_On_Xhtml_Page (self ):
484
472
self .driver .get (self .webserver .where_is ("actualXhtmlPage.xhtml" ))
485
473
link_Text = "Foo"
@@ -493,7 +481,6 @@ def test_Link_With_Formatting_Tags(self):
493
481
res = elem .find_element (By .PARTIAL_LINK_TEXT , "link with formatting tags" )
494
482
self .assertEqual (res .text , "link with formatting tags" )
495
483
496
- #Ignore(MARIONETTE)
497
484
def test_Driver_Can_Get_Link_By_Link_Test_Ignoring_Trailing_Whitespace (self ):
498
485
self ._load_page ("simpleTest" )
499
486
link = self .driver .find_element (By .LINK_TEXT , "link with trailing space" )
0 commit comments