diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-12-15 11:50:47 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-12-15 13:26:36 +0100 |
commit | 5fc6d68e9e125b00dc16600543e516bd15fb3a64 (patch) | |
tree | 9c08df351b173ec0a295c5f3f26da93a29d06f11 /sd | |
parent | 30e474a7e5bba6cebb7b082abd7ae8dc8d8bf8b0 (diff) |
uitest: simplify code
Change-Id: Id3355be0e763217a4915b53d22220c30536415e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126852
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/uitest/impress_tests/slideShowSettings.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/qa/uitest/impress_tests/slideShowSettings.py b/sd/qa/uitest/impress_tests/slideShowSettings.py index 83cb49f99eb7..16fbdc8405c9 100644 --- a/sd/qa/uitest/impress_tests/slideShowSettings.py +++ b/sd/qa/uitest/impress_tests/slideShowSettings.py @@ -9,9 +9,7 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues -import importlib -from uitest.debug import sleep -from uitest.uihelper.common import get_state_as_dict, type_text +from uitest.uihelper.common import get_state_as_dict, type_text, select_pos class slideShowSettings(UITestCase): def test_slideShowSettings(self): @@ -26,7 +24,7 @@ class slideShowSettings(UITestCase): xfrom = PresentationDialog.getChild("from") xfrom.executeAction("CLICK",tuple()) from_cb = PresentationDialog.getChild("from_cb") - from_cb.executeAction("SELECT", mkPropertyValues({"POS": "0"})) + select_pos(from_cb, "0") window = PresentationDialog.getChild("window") window.executeAction("CLICK",tuple()) manualslides = PresentationDialog.getChild("manualslides") |