20
20
import static org .assertj .core .api .Assertions .assertThat ;
21
21
import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
22
22
import static org .openqa .selenium .testing .drivers .Browser .CHROME ;
23
+ import static org .openqa .selenium .testing .drivers .Browser .EDGE ;
23
24
import static org .openqa .selenium .testing .drivers .Browser .FIREFOX ;
24
25
import static org .openqa .selenium .testing .drivers .Browser .IE ;
25
26
import static org .openqa .selenium .testing .drivers .Browser .SAFARI ;
@@ -100,6 +101,7 @@ void testShouldNotBeAbleToLocateByIdMultipleElementsThatDoNotExist() {
100
101
101
102
@ Test
102
103
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
104
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
103
105
void testFindingASingleElementByEmptyIdShouldThrow () {
104
106
driver .get (pages .formPage );
105
107
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -108,6 +110,7 @@ void testFindingASingleElementByEmptyIdShouldThrow() {
108
110
109
111
@ Test
110
112
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
113
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
111
114
public void testFindingMultipleElementsByEmptyIdShouldThrow () {
112
115
driver .get (pages .formPage );
113
116
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -318,6 +321,7 @@ void testShouldNotFindElementByClassWhenTheNameQueriedIsShorterThanCandidateName
318
321
319
322
@ Test
320
323
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
324
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
321
325
void testFindingASingleElementByEmptyClassNameShouldThrow () {
322
326
driver .get (pages .xhtmlTestPage );
323
327
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -326,6 +330,7 @@ void testFindingASingleElementByEmptyClassNameShouldThrow() {
326
330
327
331
@ Test
328
332
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
333
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
329
334
void testFindingMultipleElementsByEmptyClassNameShouldThrow () {
330
335
driver .get (pages .xhtmlTestPage );
331
336
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -439,6 +444,7 @@ void testShouldThrowAnExceptionWhenThereIsNoLinkToClick() {
439
444
440
445
@ Test
441
446
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
447
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
442
448
void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElement () {
443
449
driver .get (pages .formPage );
444
450
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -447,6 +453,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
447
453
448
454
@ Test
449
455
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
456
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
450
457
void
451
458
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElements () {
452
459
driver .get (pages .formPage );
@@ -456,6 +463,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
456
463
457
464
@ Test
458
465
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
466
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
459
467
void
460
468
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElement () {
461
469
driver .get (pages .formPage );
@@ -466,6 +474,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
466
474
467
475
@ Test
468
476
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
477
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
469
478
void
470
479
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElements () {
471
480
driver .get (pages .formPage );
@@ -476,6 +485,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
476
485
477
486
@ Test
478
487
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
488
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
479
489
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElement () {
480
490
driver .get (pages .formPage );
481
491
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -484,6 +494,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFin
484
494
485
495
@ Test
486
496
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
497
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
487
498
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElements () {
488
499
driver .get (pages .formPage );
489
500
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -492,6 +503,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFin
492
503
493
504
@ Test
494
505
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
506
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
495
507
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElement () {
496
508
driver .get (pages .formPage );
497
509
@@ -502,6 +514,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFi
502
514
503
515
@ Test
504
516
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
517
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
505
518
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElements () {
506
519
driver .get (pages .formPage );
507
520
WebElement body = driver .findElement (By .tagName ("body" ));
@@ -582,6 +595,7 @@ void testShouldNotFindElementsByCssSelectorWhenThereIsNoSuchElement() {
582
595
583
596
@ Test
584
597
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
598
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
585
599
void testFindingASingleElementByEmptyCssSelectorShouldThrow () {
586
600
driver .get (pages .xhtmlTestPage );
587
601
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -590,6 +604,7 @@ void testFindingASingleElementByEmptyCssSelectorShouldThrow() {
590
604
591
605
@ Test
592
606
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
607
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
593
608
void testFindingMultipleElementsByEmptyCssSelectorShouldThrow () {
594
609
driver .get (pages .xhtmlTestPage );
595
610
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -598,6 +613,7 @@ void testFindingMultipleElementsByEmptyCssSelectorShouldThrow() {
598
613
599
614
@ Test
600
615
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
616
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
601
617
void testFindingASingleElementByInvalidCssSelectorShouldThrow () {
602
618
driver .get (pages .xhtmlTestPage );
603
619
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -606,6 +622,7 @@ void testFindingASingleElementByInvalidCssSelectorShouldThrow() {
606
622
607
623
@ Test
608
624
@ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
625
+ @ Ignore (value = EDGE , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
609
626
void testFindingMultipleElementsByInvalidCssSelectorShouldThrow () {
610
627
driver .get (pages .xhtmlTestPage );
611
628
assertThatExceptionOfType (InvalidSelectorException .class )
0 commit comments