Commit 85992f82 authored by Robert Loehning's avatar Robert Loehning

Squish: Update tst_qml_editor for fixed editor

In 3.5, the QML editor showed two empty lines at the end of
the file. Now it's only one line so only one must be unmarked.

Change-Id: I831002e5ab9d14570d2a788010806c0b3de5614c
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent c4872962
......@@ -61,9 +61,8 @@ def prepareQmlFile():
markText(editor, "End")
else:
markText(editor, "Ctrl+End")
# unmark the 2 last lines
for _ in range(2):
type(editor, "<Shift+Up>")
# unmark the closing brace
type(editor, "<Shift+Up>")
type(editor, "<Ctrl+c>")
for j in range(10):
type(editor, "<Ctrl+v>")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment