Skip to content

Commit dcd32c0

Browse files
authored
Quarantine tests (#23598)
* Quarantine tests * Quarantine shutdowntest
1 parent b4a3719 commit dcd32c0

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

src/Components/test/E2ETest/Tests/BindTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
88
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
99
using Microsoft.AspNetCore.E2ETesting;
10+
using Microsoft.AspNetCore.Testing;
1011
using Moq;
1112
using OpenQA.Selenium;
1213
using OpenQA.Selenium.Support.UI;
@@ -506,6 +507,7 @@ public void CanBindTextboxDouble()
506507
}
507508

508509
[Fact]
510+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23596")]
509511
public void CanBindTextboxNullableDouble()
510512
{
511513
var target = Browser.FindElement(By.Id("textbox-nullable-double"));

src/Components/test/E2ETest/Tests/ErrorNotificationTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
77
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
88
using Microsoft.AspNetCore.E2ETesting;
9+
using Microsoft.AspNetCore.Testing;
910
using OpenQA.Selenium;
1011
using Xunit;
1112
using Xunit.Abstractions;
@@ -50,6 +51,7 @@ public void ShowsErrorNotification_OnError_Dismiss()
5051
}
5152

5253
[Fact]
54+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23596")]
5355
public void ShowsErrorNotification_OnError_Reload()
5456
{
5557
var causeErrorButton = Browser.Exists(By.Id("throw-simple-exception"));

src/Components/test/E2ETest/Tests/RoutingTest.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
1010
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
1111
using Microsoft.AspNetCore.E2ETesting;
12+
using Microsoft.AspNetCore.Testing;
1213
using OpenQA.Selenium;
1314
using OpenQA.Selenium.Interactions;
1415
using Xunit;
@@ -479,14 +480,18 @@ public void ResetsScrollPositionWhenPerformingInternalNavigation_ProgrammaticNav
479480
Browser.Equal(0, () => BrowserScrollY);
480481
}
481482

483+
[Fact]
484+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23596")]
485+
public void PreventDefault_CanBlockNavigation_ForInternalNavigation_PreventDefaultTarget()
486+
=> PreventDefault_CanBlockNavigation("internal", "target");
487+
482488
[Theory]
483489
[InlineData("external", "ancestor")]
484490
[InlineData("external", "target")]
485491
[InlineData("external", "descendant")]
486492
[InlineData("internal", "ancestor")]
487-
[InlineData("internal", "target")]
488493
[InlineData("internal", "descendant")]
489-
public void PreventDefault_CanBlockNavigation(string navigationType, string whereToPreventDefault)
494+
public virtual void PreventDefault_CanBlockNavigation(string navigationType, string whereToPreventDefault)
490495
{
491496
SetUrlViaPushState("/PreventDefaultCases");
492497
var app = Browser.MountTestComponent<TestRouter>();

src/Hosting/test/FunctionalTests/ShutdownTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public class ShutdownTests : LoggedTest
2525
public ShutdownTests(ITestOutputHelper output) : base(output) { }
2626

2727
[ConditionalFact]
28+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23610")]
2829
[OSSkipCondition(OperatingSystems.Windows)]
2930
[OSSkipCondition(OperatingSystems.MacOSX)]
3031
public async Task ShutdownTestRun()

0 commit comments

Comments
 (0)