diff options
Diffstat (limited to 'tests/auto/declarative_ui/tst_map_item_fit_viewport.qml')
-rw-r--r-- | tests/auto/declarative_ui/tst_map_item_fit_viewport.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative_ui/tst_map_item_fit_viewport.qml b/tests/auto/declarative_ui/tst_map_item_fit_viewport.qml index 8671d05d..b3ac1d8f 100644 --- a/tests/auto/declarative_ui/tst_map_item_fit_viewport.qml +++ b/tests/auto/declarative_ui/tst_map_item_fit_viewport.qml @@ -240,6 +240,7 @@ Item { // normal case - fit viewport to items which are all already visible verify_visibility_all_items() map.fitViewportToMapItems() + verify(waitForRendering(map)) visualInspectionPoint() verify_visibility_all_items() } @@ -577,6 +578,7 @@ Item { map.addMapItem(preMapPolygon) map.addMapItem(preMapPolyline) map.addMapItem(preMapRoute) + verify(waitForRendering(map)) compare (map.mapItems.length, 6) calculate_bounds() } |