Skip to content

Commit 2b0b41a

Browse files
author
Jake Ginnivan
committed
Fixed a TextBox test
1 parent eb1bc63 commit 2b0b41a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/TestStack.White.UITests.Old/UIItems/TextBoxTest.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ public void EnterBulkText()
3939
[Test]
4040
public void CopyTest()
4141
{
42-
textBox.Text = "userText";
43-
textBox.DoubleClick();
44-
4542
AttachedKeyboard attachedKeyboard = window.Keyboard;
43+
textBox.Text = "userText";
4644
attachedKeyboard.HoldKey(KeyboardInput.SpecialKeys.CONTROL);
45+
attachedKeyboard.Enter("a");
4746
attachedKeyboard.Enter("c");
4847
attachedKeyboard.LeaveKey(KeyboardInput.SpecialKeys.CONTROL);
4948

0 commit comments

Comments
 (0)