diff options
-rw-r--r-- | tests/auto/declarative_location_core/utils.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/declarative_location_core/utils.js b/tests/auto/declarative_location_core/utils.js index 2b7dca32..025f7771 100644 --- a/tests/auto/declarative_location_core/utils.js +++ b/tests/auto/declarative_location_core/utils.js @@ -146,8 +146,7 @@ function testReset(testCase, model, place) dataModel.model = model; model.place = place; - testCase.wait(1); - testCase.verify(model.totalCount > 0); + testCase.tryVerify(() => { return model.totalCount > 0 }, 100); testCase.verify(dataModel.items.count > 0); model.place = null; |