diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-08-16 08:36:52 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-10-01 06:11:42 +0000 |
commit | 17f5e19399151a090b177681d9cfe606e71010c2 (patch) | |
tree | 7975b8ce153b447f8fac7a670c0d41f0c5ac65cd /tests/system/suite_WELP/tst_WELP02/test.py | |
parent | 9c8400d961f765608feb94b18b614a6cb3fd57ec (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_WELP/tst_WELP02/test.py')
-rw-r--r-- | tests/system/suite_WELP/tst_WELP02/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_WELP/tst_WELP02/test.py b/tests/system/suite_WELP/tst_WELP02/test.py index 7fe8b3d464..b44f0382dc 100644 --- a/tests/system/suite_WELP/tst_WELP02/test.py +++ b/tests/system/suite_WELP/tst_WELP02/test.py @@ -99,7 +99,7 @@ def main(): # select "Open project" and select a project examplePath = os.path.join(prepareTemplate(sourceExample), "animation.pro") openQmakeProject(examplePath, fromWelcome = True) - progressBarWait(30000) + waitForProjectParsing() test.verify(checkIfObjectExists("{column='0' container=':Qt Creator_Utils::NavigationTreeView'" " text~='animation( \(.*\))?' type='QModelIndex'}"), "Verifying: The project is opened in 'Edit' mode after configuring.") |