uitest/ui_logger_dsl/dsl_core.py | 10 ++++++++++ 1 file changed, 10 insertions(+)
New commits: commit 671858c12e2eee7deacb2b7503ee7400e0f0bf5f Author: Ahmed ElShreif <aelshre...@gmail.com> AuthorDate: Sat Aug 17 21:37:21 2019 -0500 Commit: Ahmed ElShreif <aelshre...@gmail.com> CommitDate: Sat Aug 17 21:37:21 2019 -0500 Fix some Logger issues: add the SideBar implementation Change-Id: I7de9bd97e868624476b5c39a5e37afc945206e4e diff --git a/uitest/ui_logger_dsl/dsl_core.py b/uitest/ui_logger_dsl/dsl_core.py index 088fcf4a0d64..b77a3449aa6e 100644 --- a/uitest/ui_logger_dsl/dsl_core.py +++ b/uitest/ui_logger_dsl/dsl_core.py @@ -97,6 +97,7 @@ class ul_Compiler: 'math_Type_command':self.handle_math_Type_command, 'setZoom_command':self.handle_setZoom_command, 'draw_Type_command':self.handle_draw_Type_command, + 'SideBar':self.handle_SideBar, 'writer_Copy_Text':self.do_nothing, 'writer_Cut_Text':self.do_nothing, @@ -188,6 +189,15 @@ class ul_Compiler: self.current_app=app[StarterCommand.program_name] self.prev_command=StarterCommand + def handle_SideBar(self , SideBar): + + line=" self.xUITest.executeCommand(\".uno:Sidebar\")\n" + self.variables.append(line) + + self.write_line_with_one_parameters("MainWindow","SIDEBAR","PANEL",SideBar.name) + + self.prev_command=SideBar + def handle_Dialog(self, DialogCommand): if (DialogCommand.__class__.__name__ == "OpenModalDialog"): _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits