aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_CSUP/tst_CSUP05
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-08-16 08:36:52 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-10-01 06:11:42 +0000
commit17f5e19399151a090b177681d9cfe606e71010c2 (patch)
tree7975b8ce153b447f8fac7a670c0d41f0c5ac65cd /tests/system/suite_CSUP/tst_CSUP05
parent9c8400d961f765608feb94b18b614a6cb3fd57ec (diff)
Squish: Stabilize tests that rely on a parsed project
As more and more progress bars might be present for different purposes and we are not able to easily distinguish them we need to use a more reliable way to wait for the end of parsing a project. Add a respective function and use the new approach where this appears to be appropriate or necessary. Change-Id: I20e2b9b0efd4785f8f0b1ddbc8496be111628669 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system/suite_CSUP/tst_CSUP05')
-rw-r--r--tests/system/suite_CSUP/tst_CSUP05/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP05/test.py b/tests/system/suite_CSUP/tst_CSUP05/test.py
index c9f3cb892d..3e686b0509 100644
--- a/tests/system/suite_CSUP/tst_CSUP05/test.py
+++ b/tests/system/suite_CSUP/tst_CSUP05/test.py
@@ -43,7 +43,7 @@ def main():
# open example project
openQmakeProject(examplePath)
# wait for parsing to complete
- progressBarWait(30000)
+ waitForProjectParsing()
checkCodeModelSettings(useClang)
# open .cpp file in editor
if not openDocument("openglwindow.Sources.main\\.cpp"):