~elopio/unity8/fix1335548-click_scope_item

« back to all changes in this revision

Viewing changes to tests/qmltests/tst_Shell.qml

  • Committer: Leo Arias
  • Date: 2014-07-10 14:13:39 UTC
  • mfrom: (973.1.63 unity8)
  • Revision ID: leo.arias@canonical.com-20140710141339-hep6nmh2jdqq9pa3
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
            killApps(ApplicationManager);
105
105
 
106
106
            var dashContent = findChild(shell, "dashContent");
107
 
            dashContent.previewOpen = false;
 
107
            dashContent.closePreview();
108
108
 
109
109
            var dashHome = findChild(shell, "clickscope loader");
110
110
            swipeUntilScopeViewIsReached(dashHome);
510
510
            tryCompare(dash, "shown", data.expectedShown);
511
511
        }
512
512
 
513
 
        function test_searchIndicatorHidesOnAppFocus() {
514
 
            var searchIndicator = findChild(shell, "container")
515
 
            tryCompare(searchIndicator, "opacity", 1)
516
 
            dragLauncherIntoView();
517
 
 
518
 
            // Launch an app from the launcher
519
 
            tapOnAppIconInLauncher();
520
 
            waitUntilApplicationWindowIsFullyVisible();
521
 
 
522
 
            tryCompare(searchIndicator, "opacity", 0);
523
 
        }
524
 
 
525
 
        function test_searchIndicatorHidesOnGreeterShown() {
526
 
            var searchIndicator = findChild(shell, "container")
527
 
            var greeter = findChild(shell, "greeter");
528
 
 
529
 
            tryCompare(searchIndicator, "opacity", 1)
530
 
 
531
 
            greeter.show()
532
 
            tryCompare(greeter, "shown", true)
533
 
            tryCompare(searchIndicator, "opacity", 0)
534
 
        }
535
 
 
536
 
        function test_searchIndicatorHideOnPreviewShown() {
537
 
            var searchIndicator = findChild(shell, "container");
538
 
            var dashContent = findChild(shell, "dashContent");
539
 
 
540
 
            verify(dashContent != null);
541
 
 
542
 
            tryCompare(searchIndicator, "opacity", 1);
543
 
 
544
 
            dashContent.previewOpen = true;
545
 
 
546
 
            tryCompare(searchIndicator, "opacity", 0);
547
 
        }
548
 
 
549
513
        function test_focusRequestedHidesGreeter() {
550
514
            var greeter = findChild(shell, "greeter")
551
515