diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-06-04 15:27:56 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-06-04 16:34:57 +0200 |
commit | 01ff7460b83da265a0c68fa01cf2282f4e7dd72e (patch) | |
tree | 599c3b9774351fedf4e7ea9f63cd0f905a05abd3 /vcl | |
parent | 0d42ca4f39160bdc28a5855261c227c63161dd8a (diff) |
Fix UITest
It needs to wait until vnd.sun.star.findbar:FocusToFindbar does its
magic, which was racing with Python executing its typing.
This adds "SelectedText" property to ComboBoxUIObject::get_state.
Change-Id: I30faab2cc36a3cde59cf72ae5a383738a3ad4738
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116694
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 41636684803b..6c14c2192177 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -1176,6 +1176,7 @@ void ComboBoxUIObject::execute(const OUString& rAction, StringMap ComboBoxUIObject::get_state() { StringMap aMap = WindowUIObject::get_state(); + aMap["SelectedText"] = mxComboBox->GetSelected(); return aMap; } |