From 9104f71a6e75915786f8e993fedfb333a8e39970 Mon Sep 17 00:00:00 2001 From: Mackinnon Buck Date: Wed, 4 Oct 2023 13:36:10 -0700 Subject: [PATCH] Update EventTest.cs (#51142) --- src/Components/test/E2ETest/Tests/EventTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/test/E2ETest/Tests/EventTest.cs b/src/Components/test/E2ETest/Tests/EventTest.cs index 390bdcc09061..18f513720ae2 100644 --- a/src/Components/test/E2ETest/Tests/EventTest.cs +++ b/src/Components/test/E2ETest/Tests/EventTest.cs @@ -173,8 +173,8 @@ public void DragDrop_CanTrigger() var actions = new Actions(Browser).DragAndDrop(input, target); actions.Perform(); - // drop doesn't seem to trigger in Selenium. But it's sufficient to determine "any" drag event works - Browser.Equal("dragstart,", () => output.Text); + // drop doesn't reliably trigger in Selenium. But it's sufficient to determine "any" drag event works + Browser.True(() => output.Text.StartsWith("dragstart,", StringComparison.Ordinal)); } [Fact]