@@ -303,7 +303,7 @@ public void testFindingASingleElementByEmptyClassNameShouldThrow() {
303
303
driver .findElement (By .className ("" ));
304
304
}
305
305
306
- @ Ignore (value = {CHROME }, reason = "throws WebDriverException" )
306
+ @ Ignore (value = {CHROME , MARIONETTE }, reason = "Chrome: throws WebDriverException" )
307
307
@ Test (expected = NoSuchElementException .class )
308
308
public void testFindingMultipleElementsByEmptyClassNameShouldThrow () {
309
309
driver .get (pages .xhtmlTestPage );
@@ -317,7 +317,7 @@ public void testFindingASingleElementByCompoundClassNameShouldThrow() {
317
317
driver .findElement (By .className ("a b" ));
318
318
}
319
319
320
- @ Ignore (value = {CHROME }, reason = "throws WebDriverException" )
320
+ @ Ignore (value = {CHROME , MARIONETTE }, reason = "Chrome: throws WebDriverException" )
321
321
@ Test (expected = NoSuchElementException .class )
322
322
public void testFindingMultipleElementsByCompoundClassNameShouldThrow () {
323
323
driver .get (pages .xhtmlTestPage );
@@ -331,7 +331,7 @@ public void testFindingASingleElementByInvalidClassNameShouldThrow() {
331
331
driver .findElement (By .className ("!@#$%^&*" ));
332
332
}
333
333
334
- @ Ignore (value = {CHROME }, reason = "throws InvalidElementStateException" )
334
+ @ Ignore (value = {CHROME , MARIONETTE }, reason = "Chrome: throws InvalidElementStateException" )
335
335
@ Test (expected = NoSuchElementException .class )
336
336
public void testFindingMultipleElementsByInvalidClassNameShouldThrow () {
337
337
driver .get (pages .xhtmlTestPage );
@@ -522,6 +522,7 @@ public void testShouldBeAbleToFindAnElementByBooleanAttributeUsingCssSelector()
522
522
}
523
523
524
524
@ Test
525
+ @ Ignore (MARIONETTE )
525
526
public void testShouldBeAbleToFindAnElementByBooleanAttributeUsingShortCssSelector () {
526
527
driver .get (appServer .whereIs ("locators_tests/boolean_attribute_selected.html" ));
527
528
WebElement element = driver .findElement (By .cssSelector ("option[selected]" ));
@@ -549,29 +550,32 @@ public void testShouldNotFindElementsByCssSelectorWhenThereIsNoSuchElement() {
549
550
assertThat (elements .size (), is (0 ));
550
551
}
551
552
552
- @ Ignore (value = {CHROME }, reason = "Throws WebDriverException" )
553
+ @ Ignore (value = {CHROME , MARIONETTE },
554
+ reason = "Chrome: throws WebDriverException, Marionette: throws InvalidElementStateException" )
553
555
@ Test (expected = NoSuchElementException .class )
554
556
public void testFindingASingleElementByEmptyCssSelectorShouldThrow () {
555
557
driver .get (pages .xhtmlTestPage );
556
558
driver .findElement (By .cssSelector ("" ));
557
559
}
558
560
559
- @ Ignore (value = {CHROME }, reason = "throws WebDriverException" )
561
+ @ Ignore (value = {CHROME , MARIONETTE },
562
+ reason = "Chrome: throws WebDriverException, Marionette: throws InvalidElementStateException" )
560
563
@ Test (expected = NoSuchElementException .class )
561
564
public void testFindingMultipleElementsByEmptyCssSelectorShouldThrow () {
562
565
driver .get (pages .xhtmlTestPage );
563
566
driver .findElements (By .cssSelector ("" ));
564
567
}
565
568
566
- @ Ignore (value = {CHROME }, reason = "throws InvalidElementStateException" )
569
+ @ Ignore (value = {CHROME , MARIONETTE },
570
+ reason = "Chrome: throws InvalidElementStateException, Marionette: throws InvalidElementStateException" )
567
571
@ Test (expected = NoSuchElementException .class )
568
572
public void testFindingASingleElementByInvalidCssSelectorShouldThrow () {
569
573
driver .get (pages .xhtmlTestPage );
570
574
driver .findElement (By .cssSelector ("//a/b/c[@id='1']" ));
571
575
}
572
576
573
- @ Ignore (value = {CHROME },
574
- reason = "Chrome: throws InvalidElementStateException" )
577
+ @ Ignore (value = {CHROME , MARIONETTE },
578
+ reason = "Chrome: throws InvalidElementStateException, Marionette: throws InvalidElementStateException " )
575
579
@ Test (expected = NoSuchElementException .class )
576
580
public void testFindingMultipleElementsByInvalidCssSelectorShouldThrow () {
577
581
assumeFalse ("Ignoring test for lack of error in CSS in IE6" , TestUtilities .isIe6 (driver ));
0 commit comments