Squish: Clean issues before filling them

Change-Id: I5ba9f8d73bdb72c02919261057e6d5bf00183f4e
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2020-05-28 14:14:58 +02:00
parent 311ed87e30
commit 28ce5f497a

View File

@@ -40,10 +40,14 @@ def main():
testingCodeLine = 'Color : "blue"'
type(editorArea, "<Return>")
type(editorArea, testingCodeLine)
invokeMenuItem("View", "Output Panes", "Issues")
issuesView = waitForObject(":Qt Creator.Issues_QListView")
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
# invoke QML parsing
invokeMenuItem("Tools", "QML/JS", "Run Checks")
# verify that error properly reported
issuesView = waitForObject(":Qt Creator.Issues_QListView")
test.verify(checkSyntaxError(issuesView, ['Invalid property name "Color". (M16)'], True),
"Verifying if error is properly reported")
# repair error - go to written line