diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qmltest/pixel/tst_pixel.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmltest/pixel/tst_pixel.qml b/tests/auto/qmltest/pixel/tst_pixel.qml index f2a9d5fdb8..dbcca4a3f5 100644 --- a/tests/auto/qmltest/pixel/tst_pixel.qml +++ b/tests/auto/qmltest/pixel/tst_pixel.qml @@ -64,7 +64,7 @@ Rectangle { fuzzyCompare(img.pixel(1,1), "#FF0201", 2); rect.color = "blue"; - wait(200); + waitForRendering(rect); img = grabImage(rect); compare(img.pixel(20, 20), Qt.rgba(0, 0, 255, 255)); compare(img.red(1,1), 0); |