summaryrefslogtreecommitdiff
path: root/tests/auto/declarative_ui/tst_map_itemview.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative_ui/tst_map_itemview.qml')
-rw-r--r--tests/auto/declarative_ui/tst_map_itemview.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/declarative_ui/tst_map_itemview.qml b/tests/auto/declarative_ui/tst_map_itemview.qml
index db788ace..bbd70c8e 100644
--- a/tests/auto/declarative_ui/tst_map_itemview.qml
+++ b/tests/auto/declarative_ui/tst_map_itemview.qml
@@ -40,6 +40,11 @@ Item {
Plugin { id: testPlugin; name : "qmlgeo.test.plugin"; allowExperimental: true }
property variant mapDefaultCenter: QtPositioning.coordinate(10, 30)
+ property bool allMapsReady: map.mapReady
+ && map3.mapReady
+ && mapForView.mapReady
+ && mapForTestingListModel.mapReady
+ && mapForTestingRouteModel.mapReady
Map {
id: map
@@ -259,7 +264,7 @@ Item {
TestCase {
name: "MapItem"
- when: windowShown
+ when: windowShown && allMapsReady
function clear_data() {
mapItemSpy.clear()
}