Skip to content

Commit 80e6046

Browse files
committed
Additional check
1 parent 8e9b223 commit 80e6046

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,10 +857,15 @@ public void InputRadioGroupWorksWithParentImplementingIHandleEvent(int n)
857857
Browser.Equal(n == 0 ? "True" : "False", () => zero.GetDomProperty("checked"));
858858
Browser.Equal("False", () => one.GetDomProperty("checked"));
859859

860-
// Observe that the value can be mutated by the setter, and this shows up in the DOM
860+
// Observe the changes after a click
861861
one.Click();
862862
Browser.Equal("False", () => zero.GetDomProperty("checked"));
863863
Browser.Equal("True", () => one.GetDomProperty("checked"));
864+
865+
// Ensure other options can be selected
866+
zero.Click();
867+
Browser.Equal("False", () => one.GetDomProperty("checked"));
868+
Browser.Equal("True", () => zero.GetDomProperty("checked"));
864869
}
865870

866871
[Fact]

0 commit comments

Comments
 (0)