~ahayzen/ubuntu-printing-app/rearrange-folders

« back to all changes in this revision

Viewing changes to tests/qmltests/tst_SelectorRow.qml

  • Committer: Andrew Hayzen
  • Date: 2017-03-15 11:49:25 UTC
  • mfrom: (23.1.63 additional-fixes)
  • Revision ID: ahayzen@gmail.com-20170315114925-o21g3wwwfivap3yz
* Rebase on lp:~ahayzen/ubuntu-printing-app/additional-fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        }
72
72
 
73
73
        function test_changeOption() {
 
74
            var selector = findChild(selectorRow, "selector");
 
75
 
74
76
            // Check selectedIndex is the starting index
75
77
            compare(selectorRow.selectedIndex, dataSelectedIndex);
76
78
 
77
79
            // Expand the selector
78
 
            mouseClick(selectorRow);
 
80
            mouseClick(selector);
79
81
            expansionCompletedSpy.wait();
80
82
            compare(expansionCompletedSpy.count, 1);
81
83