summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2020-10-16 14:27:27 +0200
committerAndras Timar <andras.timar@collabora.com>2020-10-16 16:26:32 +0200
commit60eefb146e4ad3fdac896400393b4e1cfaef7767 (patch)
tree34a534bd76ad68c004f675bc5e5cd20e513a791a /uitest
parentlok: Simplify the check for command in sendDialogEvent. (diff)
downloadcore-60eefb146e4ad3fdac896400393b4e1cfaef7767.tar.gz
core-60eefb146e4ad3fdac896400393b4e1cfaef7767.zip
uitest: Rename the "SET" to "TYPE" for Edit boxes + implement the real "SET".
To be consistent with the other controls: "TYPE" actually enters the characters one by one, while "SET" sets it as a whole. Also I believe Modify() should be called, not UpdateData()... Change-Id: I967dc270b1d92fe76107732a511cc3e70d3d65c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104435 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/writer_tests/customizeDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/writer_tests/customizeDialog.py b/uitest/writer_tests/customizeDialog.py
index e6fef69cb50e..2eeb61a37aab 100644
--- a/uitest/writer_tests/customizeDialog.py
+++ b/uitest/writer_tests/customizeDialog.py
@@ -34,7 +34,7 @@ class ConfigureDialog(UITestCase):
initialEntryCount = get_state_as_dict(xfunc)["Children"]
self.assertTrue(initialEntryCount is not 0)
- xSearch.executeAction("SET", mkPropertyValues({"TEXT":"format"}))
+ xSearch.executeAction("TYPE", mkPropertyValues({"TEXT":"format"}))
# Wait for the search/filter op to be completed
time.sleep(1)