From 6ad3531b15c960a367470af1c249e3029d1b53b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Sat, 1 Apr 2023 00:44:19 +0200 Subject: [PATCH] SquishTests: Handle expected failure of qml refactoring Change-Id: I05b19c33de6e1245bfb6610f7a3fd39ba428aa28 Reviewed-by: Reviewed-by: Christian Stenger --- tests/system/suite_QMLS/tst_QMLS04/test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/system/suite_QMLS/tst_QMLS04/test.py b/tests/system/suite_QMLS/tst_QMLS04/test.py index 2b64a54bf1e..bcb282560b9 100644 --- a/tests/system/suite_QMLS/tst_QMLS04/test.py +++ b/tests/system/suite_QMLS/tst_QMLS04/test.py @@ -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