Skip to content

Commit 9524fc8

Browse files
authored
[dotnet] Revisit ignored intergration tests for chrome/edge (#15324)
1 parent e356610 commit 9524fc8

8 files changed

+0
-37
lines changed

dotnet/test/common/ClearTest.cs

-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ public void WritableTextInputShouldClear()
3535
}
3636

3737
[Test]
38-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
39-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
4038
public void TextInputShouldNotClearWhenDisabled()
4139
{
4240
driver.Url = readOnlyPage;
@@ -67,8 +65,6 @@ public void WritableTextAreaShouldClear()
6765
}
6866

6967
[Test]
70-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
71-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
7268
public void TextAreaShouldNotClearWhenDisabled()
7369
{
7470
driver.Url = readOnlyPage;

dotnet/test/common/ContentEditableTest.cs

-6
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ public void ShouldBeAbleToTypeIntoEmptyContentEditableElement()
7878
}
7979

8080
[Test]
81-
[IgnoreBrowser(Browser.Chrome, "Driver prepends text in contentEditable areas")]
82-
[IgnoreBrowser(Browser.Edge, "Driver prepends text in contentEditable areas")]
8381
[IgnoreBrowser(Browser.Firefox, "Driver prepends text in contentEditable areas")]
8482
[IgnoreBrowser(Browser.Safari, "Driver prepends text to contentEditable areas")]
8583
public void ShouldBeAbleToTypeIntoContentEditableElementWithExistingValue()
@@ -108,8 +106,6 @@ public void ShouldBeAbleToTypeIntoTinyMCE()
108106
}
109107

110108
[Test]
111-
[IgnoreBrowser(Browser.Chrome, "Driver prepends text in contentEditable areas")]
112-
[IgnoreBrowser(Browser.Edge, "Driver prepends text in contentEditable areas")]
113109
[IgnoreBrowser(Browser.Firefox, "Driver prepends text in contentEditable areas")]
114110
[IgnoreBrowser(Browser.IE, "Prepends text")]
115111
[IgnoreBrowser(Browser.Safari, "Driver prepends text to contentEditable areas")]
@@ -127,8 +123,6 @@ public void ShouldAppendToTinyMCE()
127123
}
128124

129125
[Test]
130-
[IgnoreBrowser(Browser.Chrome, "Driver prepends text in contentEditable areas")]
131-
[IgnoreBrowser(Browser.Edge, "Driver prepends text in contentEditable areas")]
132126
[IgnoreBrowser(Browser.Firefox, "Browser does not automatically focus body element in frame")]
133127
[IgnoreBrowser(Browser.Safari, "Driver prepends text to contentEditable areas")]
134128
public void AppendsTextToEndOfContentEditableWithMultipleTextNodes()

dotnet/test/common/CookieImplementationTest.cs

-2
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ public void AddCookiesWithDifferentPathsThatAreRelatedToOurs()
199199
}
200200

201201
[Test]
202-
[IgnoreBrowser(Browser.Chrome, "Chrome does not retrieve cookies when in frame.")]
203-
[IgnoreBrowser(Browser.Edge, "Edge does not retrieve cookies when in frame.")]
204202
[IgnoreBrowser(Browser.Firefox, "https://github.com/mozilla/geckodriver/issues/1104")]
205203
public void GetCookiesInAFrame()
206204
{

dotnet/test/common/ElementFindingTest.cs

-16
Original file line numberDiff line numberDiff line change
@@ -457,17 +457,13 @@ public void ShouldThrowAnExceptionWhenThereIsNoLinkToClick()
457457
}
458458

459459
[Test]
460-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
461-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
462460
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElement()
463461
{
464462
driver.Url = formsPage;
465463
Assert.That(() => driver.FindElement(By.XPath("this][isnot][valid")), Throws.InstanceOf<InvalidSelectorException>());
466464
}
467465

468466
[Test]
469-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
470-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
471467
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElements()
472468
{
473469
if (TestUtilities.IsIE6(driver))
@@ -481,8 +477,6 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
481477
}
482478

483479
[Test]
484-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
485-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
486480
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElement()
487481
{
488482
driver.Url = formsPage;
@@ -491,8 +485,6 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
491485
}
492486

493487
[Test]
494-
[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")]
496488
public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElements()
497489
{
498490
driver.Url = formsPage;
@@ -501,17 +493,13 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidIn
501493
}
502494

503495
[Test]
504-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
505-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
506496
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElement()
507497
{
508498
driver.Url = formsPage;
509499
Assert.That(() => driver.FindElement(By.XPath("count(//input)")), Throws.InstanceOf<InvalidSelectorException>());
510500
}
511501

512502
[Test]
513-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
514-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
515503
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElements()
516504
{
517505
if (TestUtilities.IsIE6(driver))
@@ -525,8 +513,6 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriver
525513
}
526514

527515
[Test]
528-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
529-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
530516
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElement()
531517
{
532518
driver.Url = formsPage;
@@ -536,8 +522,6 @@ public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElemen
536522
}
537523

538524
[Test]
539-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
540-
[IgnoreBrowser(Browser.Edge, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")]
541525
public void ShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElements()
542526
{
543527
if (TestUtilities.IsIE6(driver))

dotnet/test/common/ExecutingAsyncJavascriptTest.cs

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ public void ShouldBeAbleToReturnWebElementsFromAsyncScripts()
137137
}
138138

139139
[Test]
140-
[IgnoreBrowser(Browser.Chrome, "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4525")]
141140
public void ShouldBeAbleToReturnArraysOfWebElementsFromAsyncScripts()
142141
{
143142
driver.Url = ajaxyPage;

dotnet/test/common/Interactions/BasicMouseInterfaceTest.cs

-4
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@ public void ShouldAllowUsersToHoverOverElements()
280280
driver.Url = javascriptPage;
281281

282282
IWebElement element = driver.FindElement(By.Id("menu1"));
283-
if (!Platform.CurrentPlatform.IsPlatformType(PlatformType.Windows))
284-
{
285-
Assert.Ignore("Skipping test: Simulating hover needs native events");
286-
}
287283

288284
IWebElement item = driver.FindElement(By.Id("item1"));
289285
Assert.That(item.Text, Is.EqualTo(""));

dotnet/test/common/SvgDocumentTest.cs

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public class SvgDocumentTest : DriverTestFixture
2626
{
2727
[Test]
2828
[IgnoreBrowser(Browser.IE, "IE driver in Edge does not support clicking on SVG element")]
29-
[IgnoreBrowser(Browser.Chrome, "Chrome driver does not support clicking on SVG element yet")]
30-
[IgnoreBrowser(Browser.Edge, "Edge driver does not support clicking on SVG element yet")]
3129
public void ClickOnSvgElement()
3230
{
3331
if (TestUtilities.IsOldIE(driver))

dotnet/test/common/UploadTest.cs

-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ public void CleanFileInput()
7373
}
7474

7575
[Test]
76-
[IgnoreBrowser(Browser.Chrome, "Chrome driver does not throw exception.")]
77-
[IgnoreBrowser(Browser.Edge, "Edge driver does not throw exception.")]
7876
public void ClickFileInput()
7977
{
8078
driver.Url = uploadPage;

0 commit comments

Comments
 (0)