Skip to content

Commit

Permalink
Merge pull request #19016 from unoplatform/dev/jela/stretch-none-fix
Browse files Browse the repository at this point in the history
test: Fix stretch_none on ios/android
  • Loading branch information
jeromelaban authored Dec 5, 2024
2 parents 1f49455 + a960f67 commit e7be5d8
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 e7be5d8

Please sign in to comment.