diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 19:31:39 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 19:37:41 +0200 |
commit | 2df3910714451ae66a6693f6f17e11f1c8e7bdd4 (patch) | |
tree | 9c57a18d4eae8f1eaa9c8ba8694270e092f3a723 /uitest/impress_tests | |
parent | 665231b76ba3ffa574576ce4509e47a6863c20a5 (diff) |
uitest: reduce the sleeps
The sleeps are not necessary but make it easier to see what is going on
in the demo if you run it manually. In the uicheck case they are useless
and just make the test take longer.
Change-Id: I8d6d5a4fb1b068112e7785253bff936e198a7c97
Diffstat (limited to 'uitest/impress_tests')
-rw-r--r-- | uitest/impress_tests/start.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uitest/impress_tests/start.py b/uitest/impress_tests/start.py index c817cfedb87f..5b0dfdbd88a1 100644 --- a/uitest/impress_tests/start.py +++ b/uitest/impress_tests/start.py @@ -38,7 +38,7 @@ def start_impress(xContext): print(xEditWin.getChildren()) - time.sleep(5) + time.sleep(1) ui_test.close_doc() @@ -56,12 +56,12 @@ def select_page(xContext): xEditWin = xImpressDoc.getChild("impress_win") - time.sleep(10) + time.sleep(1) print(get_state_as_dict(xEditWin)) xEditWin.executeAction("GOTO", mkPropertyValues({"PAGE": "2"})) - time.sleep(5) + time.sleep(1) print(get_state_as_dict(xEditWin)) @@ -81,7 +81,7 @@ def select_text(xContext): xEditWin = xImpressDoc.getChild("impress_win") - time.sleep(10) + time.sleep(1) print(get_state_as_dict(xEditWin)) @@ -102,10 +102,10 @@ def select_object(xContext): xEditWin = xImpressDoc.getChild("impress_win") xEditWin.executeAction("SELECT", mkPropertyValues({"OBJECT":"Unnamed Drawinglayer object 1"})) - time.sleep(2) + time.sleep(1) xEditWin.executeAction("DESELECT", tuple()) - time.sleep(4) + time.sleep(1) print(get_state_as_dict(xEditWin)) |