summaryrefslogtreecommitdiff
path: root/sc/qa/uitest
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-04-01 12:23:51 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-04-01 15:40:32 +0200
commitd53aceb08cc443221b13446c3cc064ae7172b9eb (patch)
treea29257eb0cce43007b4ab64622d7ae3fe8ce345b /sc/qa/uitest
parent4c40b2be6a31444bec266ccd3dd5ef87152fad4d (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/uitest')
-rw-r--r--sc/qa/uitest/search_replace/tdf35020.py4
1 files changed, 1 insertions, 3 deletions
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())