From efbf1cc8f89a24f55ee1f638704f2cf18e322a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Thu, 26 Sep 2024 11:29:18 +0200 Subject: [PATCH] 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 --- tests/system/shared/build_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index 4d42f8db80e..09d56eae072 100644 --- a/tests/system/shared/build_utils.py +++ b/tests/system/shared/build_utils.py @@ -150,6 +150,8 @@ def verifyBuildConfig(currentTarget, configName, shouldBeDebug=False, enableShad and buildSystem == "qmake"): # Don't rebuild now clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000)) + # Wait for parsing to finish + progressBarWait(14000) clickButton(waitForObject(":scrollArea.Details_Utils::DetailsButton")) switchViewTo(ViewConstants.EDIT)