Squish: Fix tst_create_proj_wizard

Change-Id: Ia34a9055aac52479a331f3c85557291b1c586221
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Christian Stenger
2014-07-02 13:42:06 +02:00
parent 4c269ccd78
commit e39b623c28

View File

@@ -77,7 +77,7 @@ def main():
__modifyAvailableTargets__(displayedPlatforms, requiredQtVersion, True) __modifyAvailableTargets__(displayedPlatforms, requiredQtVersion, True)
verifyKitCheckboxes(kits, displayedPlatforms) verifyKitCheckboxes(kits, displayedPlatforms)
# FIXME: if QTBUG-35203 is fixed replace by triggering the shortcut for Back # 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 # are there more Quick combinations - then recreate this project
if counter < len(quickCombinations) - 1: if counter < len(quickCombinations) - 1:
displayedPlatforms = __createProject__(category, template) displayedPlatforms = __createProject__(category, template)
@@ -88,7 +88,7 @@ def main():
except LookupError: except LookupError:
pass pass
verifyKitCheckboxes(kits, displayedPlatforms) verifyKitCheckboxes(kits, displayedPlatforms)
clickButton(waitForObject("{type='QPushButton' text='Cancel'}")) clickButton(waitForObject("{type='QPushButton' text='Cancel' visible='1'}"))
invokeMenuItem("File", "Exit") invokeMenuItem("File", "Exit")
def verifyKitCheckboxes(kits, displayedPlatforms): def verifyKitCheckboxes(kits, displayedPlatforms):