From 9ae3ed33c54ee5b601508be145fe85962e6196e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Wed, 8 Jan 2025 17:49:15 +0100 Subject: [PATCH] SquishTests: Revert expected error message in tst_QMLS02 This partially reverts commit 3744160c3bc0925ee820ebbd70386efc7b51a488 due to f60b64106632c6d94f995f5d058886ec7f92783d which reverted Creator's behavior. Change-Id: Ia241205d12e3742adcb246b94a5fefb174699fd0 Reviewed-by: Christian Stenger --- tests/system/suite_QMLS/tst_QMLS02/test.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/system/suite_QMLS/tst_QMLS02/test.py b/tests/system/suite_QMLS/tst_QMLS02/test.py index a9251afc57b..193de69734b 100644 --- a/tests/system/suite_QMLS/tst_QMLS02/test.py +++ b/tests/system/suite_QMLS/tst_QMLS02/test.py @@ -30,12 +30,8 @@ def main(): # invoke QML parsing invokeMenuItem("Tools", "QML/JS", "Run Checks") # verify that error properly reported - # internal check returns e.g.'Invalid property name "Color". (M16)' - # but if project is CMake based the messages are generated by qmllint - test.verify(checkSyntaxError(issuesView, - ['Binding assigned to "Color", but no property "Color" exists in ' - 'the current element.'], False, True), - "Verifying if error or warning is properly reported") + test.verify(checkSyntaxError(issuesView, ['Invalid property name "Color". (M16)'], True), + "Verifying if error is properly reported") # repair error - go to written line placeCursorToLine(editorArea, testingCodeLine) for _ in range(14):