sc/qa/uitest/search_replace/tdf35020.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit d53aceb08cc443221b13446c3cc064ae7172b9eb Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Apr 1 12:23:51 2022 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Apr 1 15:40:32 2022 +0200 uitest: sc: by default calcsearchin is Formulas Change-Id: If1fbe328a4e89f3e0453c4248b2a516fe038bf71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132421 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sc/qa/uitest/search_replace/tdf35020.py b/sc/qa/uitest/search_replace/tdf35020.py index fab3d62312f6..9b1713388f3c 100644 --- a/sc/qa/uitest/search_replace/tdf35020.py +++ b/sc/qa/uitest/search_replace/tdf35020.py @@ -7,8 +7,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from uitest.framework import UITestCase -from uitest.uihelper.common import select_pos -from uitest.uihelper.common import select_by_text from uitest.uihelper.calc import enter_text_to_cell from libreoffice.calc.document import get_cell_by_position from libreoffice.uno.propertyvalue import mkPropertyValues @@ -32,7 +30,7 @@ class tdf35020(UITestCase): allsheets = xDialog.getChild("allsheets") allsheets.executeAction("CLICK", tuple()) calcsearchin = xDialog.getChild("calcsearchin") - select_by_text(calcsearchin, "Formulas") + self.assertEqual("Formulas", get_state_as_dict(calcsearchin)['SelectEntryText']) replaceall = xDialog.getChild("replaceall") replaceall.executeAction("CLICK", tuple())