Squish: Remove outdated error handling

Change-Id: If3bb6f8dd5c79e11139801623f63ce88ea46cf42
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Loehning
2020-02-18 12:52:11 +01:00
parent 873a543c6f
commit fd2653bdc2

View File

@@ -159,13 +159,6 @@ def addAndActivateKit(kit):
mouseClick(index)
test.verify(waitFor("not str(index.toolTip).startswith(clickToActivate)", 1500),
"Kit added for this project")
try:
findObject(":Projects.ProjectNavigationTreeView")
except:
test.warning("Squish issue - QC switches automatically to Edit view after enabling "
"a new kit when running tst_opencreator_qbs - works as expected when "
"running without Squish")
switchViewTo(ViewConstants.PROJECTS)
else:
test.warning("Kit is already added for this project.")
mouseClick(index)