forked from qt-creator/qt-creator
SquishTests: Stabilize tst_APTW03
Enabling and disabling QML debugging in a qmake-based project causes parsing of the project. Should issues be found during parsing, those will overwrite previously found issues. Wait for this parsing to finish so the expected issues found during the following build will not be overwritten by a still ongoing parse. Change-Id: I4a41059554c10fc194674b4a529fed8ea7bdf9a6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -150,6 +150,8 @@ def verifyBuildConfig(currentTarget, configName, shouldBeDebug=False, enableShad
|
|||||||
and buildSystem == "qmake"):
|
and buildSystem == "qmake"):
|
||||||
# Don't rebuild now
|
# Don't rebuild now
|
||||||
clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
|
clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
|
||||||
|
# Wait for parsing to finish
|
||||||
|
progressBarWait(14000)
|
||||||
clickButton(waitForObject(":scrollArea.Details_Utils::DetailsButton"))
|
clickButton(waitForObject(":scrollArea.Details_Utils::DetailsButton"))
|
||||||
switchViewTo(ViewConstants.EDIT)
|
switchViewTo(ViewConstants.EDIT)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user