forked from qt-creator/qt-creator
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 <robert.loehning@qt.io>
This commit is contained in:
@@ -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.")
|
||||
|
Reference in New Issue
Block a user