summaryrefslogtreecommitdiff
path: root/uitest
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-18 17:02:34 +0200
commitc1317d040c93816021268426d593b3e2cae871fe (patch)
tree02e91b19b9967e6e5362fab73aadfcb044c99fee /uitest
parent3ba10adaa853da547aa90d69b666ada4e683fe32 (diff)
uitest: the demo is supposed to show how to goto the page start
Change-Id: I61d2a74b50be2ab8b5077344ecd41cfa0cba2e64
Diffstat (limited to 'uitest')
-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()