Skip to content

Commit

Permalink
- switch to click for catalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Jan 5, 2024
1 parent 22a067a commit 8283839
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Controls/tests/UITests/Tests/Issues/Issue19329.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ public Issue19329(TestDevice device) : base(device) { }
[Test]
public void RelativePointerPositionIsComputedCorrectly()
{
IUIElement boxView = App.WaitForElement("TapHere");
Rectangle rect = boxView.GetRect();
IUIElement labelView = App.WaitForElement("TapHere");
Rectangle rect = labelView.GetRect();

App.TapCoordinates(rect.CenterX(), rect.CenterY());
App.Click("TapHere");

App.WaitForElement("TapAccepted");
App.WaitForElement("Success");
Expand Down

0 comments on commit 8283839

Please sign in to comment.