summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-21 01:50:13 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-17 21:10:31 +0200
commit3c8fa9fb5bbd7c1293f7885b529a95063dbf7252 (patch)
treeb5cba16c613aae22f27b5588bba3f86498ac4908
parentuitest: support selecting writer text (diff)
downloadcore-3c8fa9fb5bbd7c1293f7885b529a95063dbf7252.tar.gz
core-3c8fa9fb5bbd7c1293f7885b529a95063dbf7252.zip
uitest: the demo is supposed to show how to goto the page start
Change-Id: I61d2a74b50be2ab8b5077344ecd41cfa0cba2e64
-rw-r--r--uitest/writer_tests/start.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uitest/writer_tests/start.py b/uitest/writer_tests/start.py
index a9b722adc4cb..a0fe7d2b96aa 100644
--- a/uitest/writer_tests/start.py
+++ b/uitest/writer_tests/start.py
@@ -75,6 +75,8 @@ def goto_first_page(xContext):
xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RETURN"}))
state = get_state_as_dict(xWriterEdit)
+ xWriterEdit.executeAction("GOTO", mkPropertyValues({"PAGE": "1"}))
+ print(state)
time.sleep(2)
ui_test.close_doc()