From fd2653bdc2f15a47ae1c0b2cf1f85d720aff29df Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 18 Feb 2020 12:52:11 +0100 Subject: [PATCH] Squish: Remove outdated error handling Change-Id: If3bb6f8dd5c79e11139801623f63ce88ea46cf42 Reviewed-by: Christian Stenger --- tests/system/shared/project_explorer.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index 880b37a64d4..3a0d51428d1 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -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)