summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-03-13 14:24:27 +0100
committerXisco Faulí <xiscofauli@libreoffice.org>2020-03-13 19:38:07 +0100
commitf2e7bf2406a9e995fae07cb08dfe742b9449b4b0 (patch)
tree5476287582c930e879ef0bc10dc81bee5611b08a /sc
parent6a1cb765cd70c82c6b3d67d3fe5dda9e97786ad3 (diff)
uitest: select child instead of moving down
Change-Id: I2df86546eb617c67b889382e2e968c2476375ff8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90471 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/uitest/chart/chartDataLabels.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/uitest/chart/chartDataLabels.py b/sc/qa/uitest/chart/chartDataLabels.py
index 6b4d78fc5ec7..a63d8fd8a23d 100644
--- a/sc/qa/uitest/chart/chartDataLabels.py
+++ b/sc/qa/uitest/chart/chartDataLabels.py
@@ -278,8 +278,7 @@ class chartDataLabels(UITestCase):
formatted = dialog.getChild("formatted")
# Select currency
- categoryformat.executeAction("TYPE", mkPropertyValues({"KEYCODE": "DOWN"}))
- categoryformat.executeAction("TYPE", mkPropertyValues({"KEYCODE": "DOWN"}))
+ categoryformat.getChild("4").executeAction("SELECT", tuple());
self.assertEqual(get_state_as_dict(categoryformat)["SelectEntryText"], "Currency")