diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-04-21 14:50:26 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-04-21 14:08:39 +0000 |
commit | 231b97436c62091d85405dc513a878c361ddf38a (patch) | |
tree | b050b236ff529d414ac0f34648468c4287623b48 /tests | |
parent | 3be6ca63aedd12116dd0a502655c919e35f85ddc (diff) |
Fix tst_popup with transitions (Material)
Change-Id: I09ff88984a3a18c3a17671343f009cc6f2d3ff0c
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_popup.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_popup.qml b/tests/auto/controls/data/tst_popup.qml index b361e1a8..09d43466 100644 --- a/tests/auto/controls/data/tst_popup.qml +++ b/tests/auto/controls/data/tst_popup.qml @@ -942,12 +942,12 @@ TestCase { closedSpy.target = control control.open() - verify(control.visible) + tryCompare(control, "visible", true) compare(openedSpy.count, 1) compare(closedSpy.count, 0) control.close() - verify(!control.visible) + tryCompare(control, "visible", false) compare(openedSpy.count, 1) compare(closedSpy.count, 1) |