Skip to content

Commit

Permalink
test: Fix stretch_none on ios/android
Browse files Browse the repository at this point in the history
(cherry picked from commit a960f67)
  • Loading branch information
jeromelaban authored and mergify[bot] committed Dec 5, 2024
1 parent 9ce65fb commit c888c65
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ public void ImageStretch_None()

void HasValidSize(string name)
{
var element = _app.Marked(name);
_app.WaitForElement(element);
var rect = _app.Query(element).First().Rect;
var rect = _app.Query(q => q.All().Marked(name)).First().Rect;
Assert.That(rect.Width != 0);
Assert.That(rect.Height != 0);
}
Expand Down

0 comments on commit c888c65

Please sign in to comment.