~dandrader/unity8/initialSurfaceGeom

« back to all changes in this revision

Viewing changes to tests/qmltests/Dash/tst_GenericScopeView.qml

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid
  • Date: 2016-01-11 17:37:09 UTC
  • mfrom: (2079.1.4 fixQmlTestsNewSDK)
  • Revision ID: ci-train-bot@canonical.com-20160111173709-dmoz7l0dvs1gnkpz
SDK changed the name they give to the buttons, follow

Approved by: Lukáš Tinkl

Show diffs side-by-side

added added

removed removed

Lines of Context:
434
434
                // open
435
435
                tryCompare(testCase.subPageLoader, "open", false);
436
436
                tryCompare(testCase.subPageLoader, "visible", false);
437
 
                var settings = findChild(innerHeader, "settings_action_button");
 
437
                var settings = findChild(innerHeader, "settings_button");
438
438
                mouseClick(settings);
439
439
                tryCompare(testCase.subPageLoader, "open", true);
440
440
                tryCompareFunction(function() { return (String(subPageLoader.source)).indexOf("ScopeSettingsPage.qml") != -1; }, true);
582
582
                verify(innerHeader, "Could not find the inner header");
583
583
 
584
584
                expectFail("Apps", "Click scope should not have a favorite button");
585
 
                var favoriteAction = findChild(innerHeader, "favorite_action_button");
 
585
                var favoriteAction = findChild(innerHeader, "favorite_button");
586
586
                verify(favoriteAction, "Could not find the favorite action.");
587
587
                mouseClick(favoriteAction);
588
588