SquishTests: Handle expected failure of qml refactoring

Change-Id: I05b19c33de6e1245bfb6610f7a3fd39ba428aa28
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2023-04-01 00:44:19 +02:00
parent 5c5e12981e
commit 6ad3531b15

View File

@@ -48,8 +48,12 @@ def main():
except:
pass
# open MyComponent.qml file for verification
if not test.verify(openDocument(myCompTE),
"Was MyComponent.qml properly generated in project explorer?"):
docOpened = openDocument(myCompTE)
if JIRA.isBugStillOpen(28985):
test.xverify(docOpened, "Was MyComponent.qml properly generated in project explorer?")
saveAndExit()
return
if not test.verify(docOpened, "Was MyComponent.qml properly generated in project explorer?"):
test.fatal("Could not open MyComponent.qml.")
saveAndExit()
return