From fc5aeeb8d9d44808d18880f6812075830bb5d11c Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 16 Oct 2020 14:27:27 +0200 Subject: 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 Reviewed-by: Andras Timar Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105616 Tested-by: Jenkins CollaboraOffice --- uitest/writer_tests/customizeDialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uitest') diff --git a/uitest/writer_tests/customizeDialog.py b/uitest/writer_tests/customizeDialog.py index 9d2311eb46a6..5812c51e098e 100644 --- a/uitest/writer_tests/customizeDialog.py +++ b/uitest/writer_tests/customizeDialog.py @@ -36,7 +36,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) -- cgit