Skip to content

Commit ef3d9e8

Browse files
committed
[rb][java][dotnet][py] Skipping Edge tests due to https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743
1 parent e90e4a5 commit ef3d9e8

File tree

8 files changed

+51
-1
lines changed

8 files changed

+51
-1
lines changed

dotnet/test/common/ClearTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public void WritableTextInputShouldClear()
1717

1818
[Test]
1919
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
20+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
2021
public void TextInputShouldNotClearWhenDisabled()
2122
{
2223
driver.Url = readOnlyPage;
@@ -44,6 +45,7 @@ public void WritableTextAreaShouldClear()
4445

4546
[Test]
4647
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
48+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
4749
public void TextAreaShouldNotClearWhenDisabled()
4850
{
4951
driver.Url = readOnlyPage;

dotnet/test/common/ElementFindingTest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ public void ShouldThrowAnExceptionWhenThereIsNoLinkToClick()
439439

440440
[Test]
441441
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
442+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
442443
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElement()
443444
{
444445
driver.Url = formsPage;
@@ -447,6 +448,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
447448

448449
[Test]
449450
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
451+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
450452
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElements()
451453
{
452454
if (TestUtilities.IsIE6(driver))
@@ -461,6 +463,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
461463

462464
[Test]
463465
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
466+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
464467
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElement()
465468
{
466469
driver.Url = formsPage;
@@ -470,6 +473,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
470473

471474
[Test]
472475
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
476+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
473477
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElements()
474478
{
475479
driver.Url = formsPage;
@@ -479,6 +483,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
479483

480484
[Test]
481485
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
486+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
482487
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElement()
483488
{
484489
driver.Url = formsPage;
@@ -487,6 +492,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriver
487492

488493
[Test]
489494
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
495+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
490496
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElements()
491497
{
492498
if (TestUtilities.IsIE6(driver))
@@ -501,6 +507,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriver
501507

502508
[Test]
503509
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
510+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
504511
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElement()
505512
{
506513
driver.Url = formsPage;
@@ -511,6 +518,7 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElemen
511518

512519
[Test]
513520
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
521+
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
514522
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElements()
515523
{
516524
if (TestUtilities.IsIE6(driver))

java/test/org/openqa/selenium/ClearTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import static org.assertj.core.api.Assertions.assertThat;
2121
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
2222
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
23+
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
2324
import static org.openqa.selenium.testing.drivers.Browser.IE;
2425

2526
import org.junit.jupiter.api.Test;
@@ -39,6 +40,7 @@ void testWritableTextInputShouldClear() {
3940

4041
@Test
4142
@Ignore(value = CHROME, reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
43+
@Ignore(value = EDGE, reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
4244
void testTextInputShouldNotClearWhenDisabled() {
4345
driver.get(pages.readOnlyPage);
4446
WebElement element = driver.findElement(By.id("textInputNotEnabled"));
@@ -63,6 +65,7 @@ void testWritableTextAreaShouldClear() {
6365

6466
@Test
6567
@Ignore(value = CHROME, reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
68+
@Ignore(value = EDGE, reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
6669
void testTextAreaShouldNotClearWhenDisabled() {
6770
driver.get(pages.readOnlyPage);
6871
WebElement element = driver.findElement(By.id("textAreaNotEnabled"));

java/test/org/openqa/selenium/ElementFindingTest.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import static org.assertj.core.api.Assertions.assertThat;
2121
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
2222
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
23+
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
2324
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
2425
import static org.openqa.selenium.testing.drivers.Browser.IE;
2526
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
@@ -100,6 +101,7 @@ void testShouldNotBeAbleToLocateByIdMultipleElementsThatDoNotExist() {
100101

101102
@Test
102103
@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")
103105
void testFindingASingleElementByEmptyIdShouldThrow() {
104106
driver.get(pages.formPage);
105107
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -108,6 +110,7 @@ void testFindingASingleElementByEmptyIdShouldThrow() {
108110

109111
@Test
110112
@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")
111114
public void testFindingMultipleElementsByEmptyIdShouldThrow() {
112115
driver.get(pages.formPage);
113116
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -318,6 +321,7 @@ void testShouldNotFindElementByClassWhenTheNameQueriedIsShorterThanCandidateName
318321

319322
@Test
320323
@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")
321325
void testFindingASingleElementByEmptyClassNameShouldThrow() {
322326
driver.get(pages.xhtmlTestPage);
323327
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -326,6 +330,7 @@ void testFindingASingleElementByEmptyClassNameShouldThrow() {
326330

327331
@Test
328332
@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")
329334
void testFindingMultipleElementsByEmptyClassNameShouldThrow() {
330335
driver.get(pages.xhtmlTestPage);
331336
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -439,6 +444,7 @@ void testShouldThrowAnExceptionWhenThereIsNoLinkToClick() {
439444

440445
@Test
441446
@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")
442448
void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElement() {
443449
driver.get(pages.formPage);
444450
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -447,6 +453,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
447453

448454
@Test
449455
@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")
450457
void
451458
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElements() {
452459
driver.get(pages.formPage);
@@ -456,6 +463,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
456463

457464
@Test
458465
@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")
459467
void
460468
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElement() {
461469
driver.get(pages.formPage);
@@ -466,6 +474,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
466474

467475
@Test
468476
@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")
469478
void
470479
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElements() {
471480
driver.get(pages.formPage);
@@ -476,6 +485,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
476485

477486
@Test
478487
@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")
479489
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElement() {
480490
driver.get(pages.formPage);
481491
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -484,6 +494,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFin
484494

485495
@Test
486496
@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")
487498
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElements() {
488499
driver.get(pages.formPage);
489500
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -492,6 +503,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFin
492503

493504
@Test
494505
@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")
495507
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElement() {
496508
driver.get(pages.formPage);
497509

@@ -502,6 +514,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFi
502514

503515
@Test
504516
@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")
505518
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElements() {
506519
driver.get(pages.formPage);
507520
WebElement body = driver.findElement(By.tagName("body"));
@@ -582,6 +595,7 @@ void testShouldNotFindElementsByCssSelectorWhenThereIsNoSuchElement() {
582595

583596
@Test
584597
@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")
585599
void testFindingASingleElementByEmptyCssSelectorShouldThrow() {
586600
driver.get(pages.xhtmlTestPage);
587601
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -590,6 +604,7 @@ void testFindingASingleElementByEmptyCssSelectorShouldThrow() {
590604

591605
@Test
592606
@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")
593608
void testFindingMultipleElementsByEmptyCssSelectorShouldThrow() {
594609
driver.get(pages.xhtmlTestPage);
595610
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -598,6 +613,7 @@ void testFindingMultipleElementsByEmptyCssSelectorShouldThrow() {
598613

599614
@Test
600615
@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")
601617
void testFindingASingleElementByInvalidCssSelectorShouldThrow() {
602618
driver.get(pages.xhtmlTestPage);
603619
assertThatExceptionOfType(InvalidSelectorException.class)
@@ -606,6 +622,7 @@ void testFindingASingleElementByInvalidCssSelectorShouldThrow() {
606622

607623
@Test
608624
@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")
609626
void testFindingMultipleElementsByInvalidCssSelectorShouldThrow() {
610627
driver.get(pages.xhtmlTestPage);
611628
assertThatExceptionOfType(InvalidSelectorException.class)

py/test/selenium/webdriver/common/clear_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_writable_text_input_should_clear(driver, pages):
2929

3030

3131
@pytest.mark.xfail_chrome(reason="https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
32+
@pytest.mark.xfail_edge(reason="https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
3233
def test_text_input_should_not_clear_when_disabled(driver, pages):
3334
pages.load("readOnlyPage.html")
3435
element = driver.find_element(By.ID, "textInputNotEnabled")
@@ -52,6 +53,7 @@ def test_writable_text_area_should_clear(driver, pages):
5253

5354

5455
@pytest.mark.xfail_chrome(reason="https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
56+
@pytest.mark.xfail_edge(reason="https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
5557
def test_text_area_should_not_clear_when_disabled(driver, pages):
5658
pages.load("readOnlyPage.html")
5759
element = driver.find_element(By.ID, "textAreaNotEnabled")

0 commit comments

Comments
 (0)