summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2020-02-18 11:31:25 +0100
committerRobert Loehning <robert.loehning@qt.io>2020-02-18 14:41:41 +0000
commit46e5d522383af67ed50efb60542a36d3f1cf4823 (patch)
tree6cb1e03ac42d873b8802ccec3bfe4caaed418243 /tests
parent5721ccb03b411db6b0e7673241fbbe284212f236 (diff)
downloadqt-creator-46e5d522383af67ed50efb60542a36d3f1cf4823.tar.gz
Squish: Update addAndActivateKit
Fixes warning in tst_opencreator_qbs Change-Id: I82ba025ebc6befd222dd8f47cabcff08ad2e584e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/project_explorer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py
index ba022dcfed..880b37a64d 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 = "<h3>Click to activate:</h3>"
bAndRIndex = getQModelIndexStr("text='Build & Run'", ":Projects.ProjectNavigationTreeView")
kitString = Targets.getStringForTarget(kit)
+ clickToActivate = "<html><body><h3>%s</h3><p><h3>Click to activate</h3>" % kitString
switchViewTo(ViewConstants.PROJECTS)
try:
waitForObject(":Projects.ProjectNavigationTreeView")