forked from qt-creator/qt-creator
Squish: Fix error handling in tst_git_clone
Change-Id: Id59ba23361beb0994f400647680e4facb223d22f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -128,7 +128,7 @@ def main():
|
|||||||
except:
|
except:
|
||||||
clickButton(waitForObject(":Cannot Open Project.Show Details..._QPushButton"))
|
clickButton(waitForObject(":Cannot Open Project.Show Details..._QPushButton"))
|
||||||
test.fail("The checked out project was not being opened.",
|
test.fail("The checked out project was not being opened.",
|
||||||
waitForObject(":Cannot Open Project_QTextEdit").plainText)
|
str(waitForObject(":Cannot Open Project_QTextEdit").plainText))
|
||||||
clickButton(waitForObject(":Cannot Open Project.OK_QPushButton"))
|
clickButton(waitForObject(":Cannot Open Project.OK_QPushButton"))
|
||||||
verifyVersionControlView(targetDir, button == "Cancel immediately")
|
verifyVersionControlView(targetDir, button == "Cancel immediately")
|
||||||
invokeMenuItem("File", "Exit")
|
invokeMenuItem("File", "Exit")
|
||||||
|
Reference in New Issue
Block a user