diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index ba022dcfed5..880b37a64d4 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -147,9 +147,9 @@ def invokeContextMenuOnProject(projectName, menuItem): return projItem def addAndActivateKit(kit): - clickToActivate = "

Click to activate:

" bAndRIndex = getQModelIndexStr("text='Build & Run'", ":Projects.ProjectNavigationTreeView") kitString = Targets.getStringForTarget(kit) + clickToActivate = "

%s

Click to activate

" % kitString switchViewTo(ViewConstants.PROJECTS) try: waitForObject(":Projects.ProjectNavigationTreeView")