From 1a86b688099478fd8b47d7b13f99cf060a34887e Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 3 Feb 2020 08:35:43 +0100 Subject: Squish: Fix test for session handling Wait for project parsing on re-opening a session that contains projects before trying to interact. Change-Id: I631ee72573e1ff1fb115825aaf756489d02f18ab Reviewed-by: Robert Loehning --- tests/system/suite_general/tst_session_handling/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/system/suite_general/tst_session_handling/test.py b/tests/system/suite_general/tst_session_handling/test.py index 702273b265..96a3f33dd9 100644 --- a/tests/system/suite_general/tst_session_handling/test.py +++ b/tests/system/suite_general/tst_session_handling/test.py @@ -54,6 +54,7 @@ def main(): checkNavigator(0, "Verifying that no more project is opened.") checkOpenDocuments(0, "Verifying whether all files have been closed.") switchSession(sessionName) + waitForProjectParsing() test.verify(waitFor("sessionName in str(mainWindow.windowTitle)", 2000), "Verifying window title contains created session name.") checkNavigator(52, "Verifying whether all projects have been re-opened.") -- cgit v1.2.1