on xenial help sign in
Remove the need for the wait
commita376e058488abbbf93d756491dffe5e874a99990 authorAlbert Astals <albert.astals@canonical.com> dateMon 2 Dec 2013, 14:39 (13 years ago) parent41b3246
1 file changed+2−1
tests/qmltests/Dash/tst_GenericScopeView.qml+2−1
tests/qmltests/Dash/tst_GenericScopeView.qml+2−1
@@ -82,8 +82,10 @@ Item {
8282
8383 function test_showDash() {
8484 previewListView.open = true;
85+ tryCompare(openEffect, "live", true);
8586 scopes.get(0).showDash();
8687 tryCompare(previewListView, "open", false);
88+ tryCompare(openEffect, "live", true);
8789 }
8890
8991 function test_hideDash() {
@@ -102,7 +104,6 @@ Item {
102104 },
103105 true);
104106 var tile = findChild(genericScopeView, "delegate0");
105− wait(1000);
106107 mouseClick(tile, tile.width / 2, tile.height / 2);
107108 tryCompare(previewListView, "open", true);
108109 tryCompare(openEffect, "gap", 1);