Skip to content

Commit

Permalink
Merge pull request #19025 from unoplatform/dev/mazi/tests-stability
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund authored Dec 6, 2024
2 parents 2f3ff92 + 8e6894b commit 2482f84
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ public void ImageStretch_None()
void HasValidSize(string name)
{
var rect = _app.Query(q => q.All().Marked(name)).First().Rect;
Assert.That(rect.Width != 0);
Assert.That(rect.Height != 0);
_app.WaitFor(() => rect.Width != 0 && rect.Height != 0, timeout: TimeSpan.FromSeconds(2));
}

HasValidSize("image01");
Expand Down

0 comments on commit 2482f84

Please sign in to comment.