Skip to content

Commit 3ed4a7b

Browse files
authoredMar 17, 2025
Fix RadioButtonGetsResetAfterSubmittingEnhancedForm (#60920)
* Remove quarantine and make the assert wait a bit.
1 parent e78c1a3 commit 3ed4a7b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/FormWithParentBindingContextTest.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,6 @@ void AssertUiState(string expectedStringValue, bool expectedBoolValue)
13621362
}
13631363

13641364
[Fact]
1365-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/60873")]
13661365
public void RadioButtonGetsResetAfterSubmittingEnhancedForm()
13671366
{
13681367
GoTo("forms/form-with-checkbox-and-radio-button");
@@ -1378,8 +1377,8 @@ public void RadioButtonGetsResetAfterSubmittingEnhancedForm()
13781377

13791378
Browser.Exists(By.Id("submit-button")).Click();
13801379

1381-
Assert.False(Browser.Exists(By.Id("checkbox")).Selected);
1382-
Assert.False(Browser.Exists(By.Id("radio-button")).Selected);
1380+
WaitAssert.False(Browser, () => Browser.Exists(By.Id("checkbox")).Selected);
1381+
WaitAssert.False(Browser, () => Browser.Exists(By.Id("radio-button")).Selected);
13831382
}
13841383

13851384
[Fact]

0 commit comments

Comments
 (0)
Failed to load comments.