Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SyncWizard.py « pageObjects « scripts « shared « gui « test - github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8dcf943362823498ea15a7d0dca328b86abe86fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import names
import squish


class SyncWizard:
    ACTION_MENU = {
        "container": names.settings_stack_QStackedWidget,
        "name": "_folderList",
        "type": "QTreeView",
        "visible": 1,
    }

    def performAction(self, action):
        squish.openContextMenu(
            squish.waitForObjectItem(self.ACTION_MENU, "_1"), 0, 0, squish.Qt.NoModifier
        )
        squish.activateItem(squish.waitForObjectItem(names.settings_QMenu, action))