@@ -91,7 +91,6 @@ public void testShouldNotBeAbleToLocateByIdMultipleElementsThatDoNotExist() {
91
91
}
92
92
93
93
@ Test (expected = NoSuchElementException .class )
94
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
95
94
public void testFindingASingleElementByEmptyIdShouldThrow () {
96
95
driver .get (pages .formPage );
97
96
driver .findElement (By .id ("" ));
@@ -157,29 +156,25 @@ public void testShouldNotBeAbleToLocateByNameMultipleElementsThatDoNotExist() {
157
156
}
158
157
159
158
@ Test (expected = NoSuchElementException .class )
160
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
161
159
public void testFindingASingleElementByEmptyNameShouldThrow () {
162
160
driver .get (pages .formPage );
163
161
driver .findElement (By .name ("" ));
164
162
}
165
163
166
164
@ Test
167
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
168
165
public void testFindingMultipleElementsByEmptyNameShouldReturnEmptyList () {
169
166
driver .get (pages .formPage );
170
167
List <WebElement > elements = driver .findElements (By .name ("" ));
171
168
assertThat (elements .size (), is (0 ));
172
169
}
173
170
174
171
@ Test (expected = NoSuchElementException .class )
175
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
176
172
public void testFindingASingleElementByNameWithSpaceShouldThrow () {
177
173
driver .get (pages .formPage );
178
174
driver .findElement (By .name ("nonexistent button" ));
179
175
}
180
176
181
177
@ Test
182
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
183
178
public void testFindingMultipleElementsByNameWithSpaceShouldReturnEmptyList () {
184
179
driver .get (pages .formPage );
185
180
List <WebElement > elements = driver .findElements (By .name ("nonexistent button" ));
@@ -218,14 +213,12 @@ public void testShouldNotBeAbleToLocateByTagNameMultipleElementsThatDoNotExist()
218
213
}
219
214
220
215
@ Test (expected = NoSuchElementException .class )
221
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
222
216
public void testFindingASingleElementByEmptyTagNameShouldThrow () {
223
217
driver .get (pages .formPage );
224
218
driver .findElement (By .tagName ("" ));
225
219
}
226
220
227
221
@ Test (expected = NoSuchElementException .class )
228
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
229
222
public void testFindingMultipleElementsByEmptyTagNameShouldThrow () {
230
223
driver .get (pages .formPage );
231
224
driver .findElements (By .tagName ("" ));
@@ -304,14 +297,14 @@ public void testShouldNotFindElementByClassWhenTheNameQueriedIsShorterThanCandid
304
297
driver .findElement (By .className ("nameB" ));
305
298
}
306
299
307
- @ Ignore (value = {CHROME , MARIONETTE }, reason = "throws WebDriverException" )
300
+ @ Ignore (value = {CHROME }, reason = "throws WebDriverException" )
308
301
@ Test (expected = NoSuchElementException .class )
309
302
public void testFindingASingleElementByEmptyClassNameShouldThrow () {
310
303
driver .get (pages .xhtmlTestPage );
311
304
driver .findElement (By .className ("" ));
312
305
}
313
306
314
- @ Ignore (value = {CHROME , MARIONETTE }, reason = "Chrome: throws WebDriverException" )
307
+ @ Ignore (value = {CHROME }, reason = "Chrome: throws WebDriverException" )
315
308
@ Test (expected = NoSuchElementException .class )
316
309
public void testFindingMultipleElementsByEmptyClassNameShouldThrow () {
317
310
driver .get (pages .xhtmlTestPage );
@@ -332,7 +325,7 @@ public void testFindingMultipleElementsByCompoundClassNameShouldThrow() {
332
325
driver .findElements (By .className ("a b" ));
333
326
}
334
327
335
- @ Ignore (value = {CHROME , MARIONETTE }, reason = "Chrome: throws InvalidElementStateException" )
328
+ @ Ignore (value = {CHROME }, reason = "Chrome: throws InvalidElementStateException" )
336
329
@ Test (expected = NoSuchElementException .class )
337
330
public void testFindingASingleElementByInvalidClassNameShouldThrow () {
338
331
driver .get (pages .xhtmlTestPage );
@@ -427,14 +420,12 @@ public void testShouldThrowAnExceptionWhenThereIsNoLinkToClick() {
427
420
driver .findElement (By .xpath ("//a[@id='Not here']" ));
428
421
}
429
422
430
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
431
423
@ Test (expected = InvalidSelectorException .class )
432
424
public void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElement () {
433
425
driver .get (pages .formPage );
434
426
driver .findElement (By .xpath ("this][isnot][valid" ));
435
427
}
436
428
437
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
438
429
@ Test (expected = InvalidSelectorException .class )
439
430
public void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElements () {
440
431
assumeFalse ("Ignoring xpath error test in IE6" , TestUtilities .isIe6 (driver ));
@@ -443,15 +434,13 @@ public void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInval
443
434
driver .findElements (By .xpath ("this][isnot][valid" ));
444
435
}
445
436
446
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
447
437
@ Test (expected = InvalidSelectorException .class )
448
438
public void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElement () {
449
439
driver .get (pages .formPage );
450
440
WebElement body = driver .findElement (By .tagName ("body" ));
451
441
body .findElement (By .xpath ("this][isnot][valid" ));
452
442
}
453
443
454
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
455
444
@ Test (expected = InvalidSelectorException .class )
456
445
public void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElements () {
457
446
assumeFalse ("Ignoring xpath error test in IE6" , TestUtilities .isIe6 (driver ));
@@ -461,14 +450,12 @@ public void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInval
461
450
body .findElements (By .xpath ("this][isnot][valid" ));
462
451
}
463
452
464
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
465
453
@ Test (expected = InvalidSelectorException .class )
466
454
public void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElement () {
467
455
driver .get (pages .formPage );
468
456
driver .findElement (By .xpath ("count(//input)" ));
469
457
}
470
458
471
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
472
459
@ Test (expected = InvalidSelectorException .class )
473
460
public void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElements () {
474
461
assumeFalse ("Ignoring xpath error test in IE6" , TestUtilities .isIe6 (driver ));
@@ -477,7 +464,6 @@ public void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDr
477
464
driver .findElements (By .xpath ("count(//input)" ));
478
465
}
479
466
480
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
481
467
@ Test (expected = InvalidSelectorException .class )
482
468
public void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElement () {
483
469
driver .get (pages .formPage );
@@ -486,7 +472,6 @@ public void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInEl
486
472
body .findElement (By .xpath ("count(//input)" ));
487
473
}
488
474
489
- @ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
490
475
@ Test (expected = InvalidSelectorException .class )
491
476
public void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElements () {
492
477
assumeFalse ("Ignoring xpath error test in IE6" , TestUtilities .isIe6 (driver ));
@@ -566,32 +551,32 @@ public void testShouldNotFindElementsByCssSelectorWhenThereIsNoSuchElement() {
566
551
assertThat (elements .size (), is (0 ));
567
552
}
568
553
569
- @ Ignore (value = {CHROME , MARIONETTE },
570
- reason = "Chrome: throws WebDriverException, Marionette: throws InvalidElementStateException " )
554
+ @ Ignore (value = {CHROME },
555
+ reason = "Chrome: throws WebDriverException" )
571
556
@ Test (expected = NoSuchElementException .class )
572
557
public void testFindingASingleElementByEmptyCssSelectorShouldThrow () {
573
558
driver .get (pages .xhtmlTestPage );
574
559
driver .findElement (By .cssSelector ("" ));
575
560
}
576
561
577
- @ Ignore (value = {CHROME , MARIONETTE },
578
- reason = "Chrome: throws WebDriverException, Marionette: throws InvalidElementStateException " )
562
+ @ Ignore (value = {CHROME },
563
+ reason = "Chrome: throws WebDriverException" )
579
564
@ Test (expected = NoSuchElementException .class )
580
565
public void testFindingMultipleElementsByEmptyCssSelectorShouldThrow () {
581
566
driver .get (pages .xhtmlTestPage );
582
567
driver .findElements (By .cssSelector ("" ));
583
568
}
584
569
585
- @ Ignore (value = {CHROME , MARIONETTE },
586
- reason = "Chrome: throws InvalidElementStateException, Marionette: throws InvalidElementStateException " )
570
+ @ Ignore (value = {CHROME },
571
+ reason = "Chrome: throws InvalidElementStateException" )
587
572
@ Test (expected = NoSuchElementException .class )
588
573
public void testFindingASingleElementByInvalidCssSelectorShouldThrow () {
589
574
driver .get (pages .xhtmlTestPage );
590
575
driver .findElement (By .cssSelector ("//a/b/c[@id='1']" ));
591
576
}
592
577
593
- @ Ignore (value = {CHROME , MARIONETTE },
594
- reason = "Chrome: throws InvalidElementStateException, Marionette: throws InvalidElementStateException " )
578
+ @ Ignore (value = {CHROME },
579
+ reason = "Chrome: throws InvalidElementStateException" )
595
580
@ Test (expected = NoSuchElementException .class )
596
581
public void testFindingMultipleElementsByInvalidCssSelectorShouldThrow () {
597
582
assumeFalse ("Ignoring test for lack of error in CSS in IE6" , TestUtilities .isIe6 (driver ));
0 commit comments