Skip to content

Commit

Permalink
modified Issue12246 based on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anandhan-rajagopal committed Nov 6, 2024
1 parent 4c7dd26 commit 9e1e14a
Showing 1 changed file with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ namespace Microsoft.Maui.TestCases.Tests.Issues;

public class Issue12246 : _IssuesUITest
{

const string Entry = "Entry";
const string Password = "Password";
const string Success = "Success";

public Issue12246(TestDevice testDevice) : base(testDevice)
{
}
Expand All @@ -16,15 +21,15 @@ public Issue12246(TestDevice testDevice) : base(testDevice)
[Category(UITestCategories.Entry)]
public void UnfocusingPasswordDoesNotHang()
{
App.WaitForElement("Entry");
App.WaitForElement(Entry);

App.EnterText("Entry", "test");
App.EnterText(Entry, "test");
App.DismissKeyboard();
App.Tap("Password");
App.EnterText("Password", "test");
App.Tap(Password);
App.EnterText(Password, "test");

App.Tap("Entry");
App.Tap(Entry);
App.DismissKeyboard();
App.WaitForElement("Success");
App.WaitForElement(Success);
}
}

0 comments on commit 9e1e14a

Please sign in to comment.