summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Löhning <robert.loehning@qt.io>2023-04-20 23:39:21 +0200
committerRobert Löhning <robert.loehning@qt.io>2023-04-26 11:44:36 +0000
commit183cf3adc5da12702966ad3ff1a2a18014ed0acd (patch)
tree136b3a539b27122f265c8f2af553fbff649dbc47 /tests
parentfff4ab8b3db31d201c7db05920898db036d21b28 (diff)
downloadqt-creator-183cf3adc5da12702966ad3ff1a2a18014ed0acd.tar.gz
SquishTests: Make workaround permanent for Creator 10
The bug is fixed in master branch only. Task-number: QTCREATORBUG-28985 Change-Id: I5b1648e89a2ae61ce651ce6d2061fea58559d145 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_QMLS/tst_QMLS04/test.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/system/suite_QMLS/tst_QMLS04/test.py b/tests/system/suite_QMLS/tst_QMLS04/test.py
index 351b59ac63..2c96939151 100644
--- a/tests/system/suite_QMLS/tst_QMLS04/test.py
+++ b/tests/system/suite_QMLS/tst_QMLS04/test.py
@@ -48,14 +48,12 @@ def main():
pass
# open MyComponent.qml file for verification
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
+ # Work around QTCREATORBUG-28985
+ test.xverify(docOpened, "Was MyComponent.qml properly generated in project explorer?")
+ saveAndExit()
+ return
+ # The workaround will be removed in master branch
+ # Following dead code left in intentionally to still allow merging forward changes in it.
editorArea = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
codeText = str(editorArea.plainText)
# there should be Text item in new file