Skip to content

Commit

Permalink
fix(tests): Fix When_Paste_While_Pointer_Held on macOS/skia
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot committed Nov 4, 2024
1 parent 20df9bd commit 647a7ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ public async Task When_Paste_While_Pointer_Held()
Assert.AreEqual(1, SUT.SelectionStart);
Assert.AreEqual(9, SUT.SelectionLength);

SUT.SafeRaiseEvent(UIElement.KeyDownEvent, new KeyRoutedEventArgs(SUT, VirtualKey.V, VirtualKeyModifiers.Control));
SUT.SafeRaiseEvent(UIElement.KeyDownEvent, new KeyRoutedEventArgs(SUT, VirtualKey.V, _platformCtrlKey));
await WindowHelper.WaitForIdle();

Assert.AreEqual("Hcopied contentd", SUT.Text);
Expand Down

0 comments on commit 647a7ac

Please sign in to comment.