From e39b623c2876c3be2e00af2123af05899c23e0a0 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 2 Jul 2014 13:42:06 +0200 Subject: [PATCH] Squish: Fix tst_create_proj_wizard Change-Id: Ia34a9055aac52479a331f3c85557291b1c586221 Reviewed-by: Christian Stenger --- tests/system/suite_general/tst_create_proj_wizard/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/suite_general/tst_create_proj_wizard/test.py b/tests/system/suite_general/tst_create_proj_wizard/test.py index 73e70c5a4d1..f91efb6870c 100644 --- a/tests/system/suite_general/tst_create_proj_wizard/test.py +++ b/tests/system/suite_general/tst_create_proj_wizard/test.py @@ -77,7 +77,7 @@ def main(): __modifyAvailableTargets__(displayedPlatforms, requiredQtVersion, True) verifyKitCheckboxes(kits, displayedPlatforms) # FIXME: if QTBUG-35203 is fixed replace by triggering the shortcut for Back - clickButton(waitForObject("{type='QPushButton' text='Cancel'}")) + clickButton(waitForObject("{type='QPushButton' text='Cancel' visible='1'}")) # are there more Quick combinations - then recreate this project if counter < len(quickCombinations) - 1: displayedPlatforms = __createProject__(category, template) @@ -88,7 +88,7 @@ def main(): except LookupError: pass verifyKitCheckboxes(kits, displayedPlatforms) - clickButton(waitForObject("{type='QPushButton' text='Cancel'}")) + clickButton(waitForObject("{type='QPushButton' text='Cancel' visible='1'}")) invokeMenuItem("File", "Exit") def verifyKitCheckboxes(kits, displayedPlatforms):