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: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-10-20 18:04:01 +02:00
parent c4872962cd
commit 85992f823e

View File

@@ -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>")