forked from qt-creator/qt-creator
SquishTests: Expect overeager Python kit
Task-number: QTCREATORBUG-31809 Change-Id: I77b47a24cde616f7be8208d5bc0f143b29ad102d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -16,7 +16,8 @@ def verifyProjectsMode(expectedKits):
|
|||||||
hasKits = len(expectedKits) > 0
|
hasKits = len(expectedKits) > 0
|
||||||
test.verify(checkIfObjectExists(":scrollArea.Edit build configuration:_QLabel", hasKits),
|
test.verify(checkIfObjectExists(":scrollArea.Edit build configuration:_QLabel", hasKits),
|
||||||
"Verify if build settings are being displayed.")
|
"Verify if build settings are being displayed.")
|
||||||
test.verify(checkIfObjectExists(":No valid kits found._QLabel", not hasKits),
|
squishFunct = test.xverify if JIRA.isBugStillOpen(31809) and not hasKits else test.verify
|
||||||
|
squishFunct(checkIfObjectExists(":No valid kits found._QLabel", not hasKits),
|
||||||
"Verify if Creator reports missing kits.")
|
"Verify if Creator reports missing kits.")
|
||||||
|
|
||||||
kitNameTemplate = "Manual.%s"
|
kitNameTemplate = "Manual.%s"
|
||||||
|
Reference in New Issue
Block a user