summaryrefslogtreecommitdiff
path: root/sc/qa/uitest
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-13 19:23:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-14 15:54:08 +0200
commitc3bca577807d7cbd93ce8c66aab8798de45bef16 (patch)
treec320c4ae892ea79f7353486ebde03c667d03368a /sc/qa/uitest
parent6154489314d2f2bf9cb99b72f15c79dd48a1da14 (diff)
weld ScConsolidateDlg
Change-Id: I7d52aea1917503a37cdc7d1ae16d7d2377397f30 Reviewed-on: https://gerrit.libreoffice.org/70714 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/qa/uitest')
-rw-r--r--sc/qa/uitest/calc_tests2/consolidate.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/qa/uitest/calc_tests2/consolidate.py b/sc/qa/uitest/calc_tests2/consolidate.py
index 4d47d03be898..508ac7aaee83 100644
--- a/sc/qa/uitest/calc_tests2/consolidate.py
+++ b/sc/qa/uitest/calc_tests2/consolidate.py
@@ -87,14 +87,15 @@ class consolidate(UITestCase):
xeddestarea = xDialog.getChild("eddestarea")
xconsareas = xDialog.getChild("consareas")
self.assertEqual(get_state_as_dict(xfunc)["SelectEntryText"], "Sum")
- self.assertEqual(get_state_as_dict(xconsareas)["EntryCount"], "3")
+ self.assertEqual(get_state_as_dict(xconsareas)["Children"], "3")
self.assertEqual(get_state_as_dict(xeddestarea)["Text"], "$Total.$A$2")
self.assertEqual(get_state_as_dict(xbyrow)["Selected"], "true")
self.assertEqual(get_state_as_dict(xbycol)["Selected"], "true")
#delete first range
- select_pos(xconsareas, "0")
+ xFirstEntry = xconsareas.getChild("0")
+ xFirstEntry.executeAction("SELECT", tuple())
xdelete.executeAction("CLICK", tuple())
- self.assertEqual(get_state_as_dict(xconsareas)["EntryCount"], "2")
+ self.assertEqual(get_state_as_dict(xconsareas)["Children"], "2")
xOKBtn = xDialog.getChild("ok")
self.ui_test.close_dialog_through_button(xOKBtn)
@@ -120,4 +121,4 @@ class consolidate(UITestCase):
self.ui_test.close_doc()
-# vim: set shiftwidth=4 softtabstop=4 expandtab: \ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab: