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):