From 46e5d522383af67ed50efb60542a36d3f1cf4823 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 18 Feb 2020 11:31:25 +0100 Subject: [PATCH] Squish: Update addAndActivateKit Fixes warning in tst_opencreator_qbs Change-Id: I82ba025ebc6befd222dd8f47cabcff08ad2e584e Reviewed-by: Christian Stenger --- tests/system/shared/project_explorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")