~osomon/webbrowser-app/qmltests

« back to all changes in this revision

Viewing changes to tests/qmltests/webbrowser-app/tst_BookmarkOptions.qml

  • Committer: Olivier Tilloy
  • Date: 2017-04-05 11:09:35 UTC
  • Revision ID: olivier.tilloy@canonical.com-20170405110935-gyy0fc71ail9c2ox
Make tests that interact with the "See More" button in the narrow new tab view more robust.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        if (!window.wide) {
33
33
            var moreButton = expectChild(newTabView, "bookmarks.moreButton");
34
34
            tryCompare(moreButton, "visible", true);
 
35
            waitForRendering(moreButton);
35
36
            clickItem(moreButton);
36
37
            waitForRendering(newTabView);
37
38
        }