Commit aff40bd1 authored by Christian Stenger's avatar Christian Stenger

Squish: Provide fallback for tst_HELP02...

...when running on build machine inside Jenkins.

Change-Id: I184ff013b1743b9f50cd0a2ac0ef76071b4336a3
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent dd20f5e4
......@@ -102,7 +102,16 @@ def main():
nativeMouseClick(waitForObject(":Qt Creator_Core::Internal::MainWindow", 1000), 20, 20, 0, Qt.LeftButton)
nativeType("<Ctrl+Alt+a>")
# verify qt creator version
waitForObject(":About Qt Creator_Core::Internal::VersionDialog")
try:
waitForObject(":About Qt Creator_Core::Internal::VersionDialog", 5000)
except:
test.warning("Using workaround of invoking menu entry "
"(known issue when running on Win inside Jenkins)")
if platform.system() == "Darwin":
invokeMenuItem("Help", "About Qt Creator")
else:
invokeMenuItem("Help", "About Qt Creator...")
waitForObject(":About Qt Creator_Core::Internal::VersionDialog", 5000)
actualVersion = getQtCreatorVersionFromDialog()
test.verify(actualVersion == expectedVersion,
"Verifying version. Current version is '%s', expected version is '%s'"
......
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