Commit 0f253e48 authored by Robert Loehning's avatar Robert Loehning

Squish: Continue testing other files after fatal error

Change-Id: I2e8709a84882dde5a6bc96b4bd213581175c6c8c
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent e8305e3e
......@@ -77,7 +77,12 @@ def main():
modifyExternally(files[i - 1])
# clicking Cancel does not work when running inside Squish - mBox would not come up
sendEvent("QCloseEvent", waitForObject(":New_Core::Internal::NewDialog"))
test.verify(str(waitForObject(mBox).text)
try:
shownMBox = waitForObject(mBox)
except:
test.fatal("No MessageBox shown after modifying file %s" % currentFile)
continue
test.verify(str(shownMBox.text)
in (popupText % os.path.basename(currentFile),
popupText % os.path.basename(files[i - 1])),
"Verifying: One of the modified files is offered as changed.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment