diff --git a/src/Components/test/E2ETest/Tests/EventTest.cs b/src/Components/test/E2ETest/Tests/EventTest.cs index f102f85343eb..8316852991de 100644 --- a/src/Components/test/E2ETest/Tests/EventTest.cs +++ b/src/Components/test/E2ETest/Tests/EventTest.cs @@ -278,12 +278,13 @@ public void PreventDefault_AppliesToFormOnSubmitHandlers() } [Fact] - [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/62533")] - public void PreventDefault_DotNotApplyByDefault() + public void PreventDefault_DoNotApplyByDefault() { var appElement = Browser.MountTestComponent(); appElement.FindElement(By.Id("form-2-button")).Click(); - Assert.Contains("about:blank", Browser.Url); + + // The URL should change because the submit event is not prevented + Browser.Contains("about:blank", () => Browser.Url); } [Fact]