summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2019-01-31 01:58:51 -0900
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-02-16 13:13:06 +0100
commit16d2876b61520a765a111d7c38d60b143e669a37 (patch)
treea2b25b547087568ca621f2c4b0f566b441e6622e /sc
parentcda61b3442f329d3892b25d40260d7742c1b0772 (diff)
tdf#123021 Fix options dialog cancel doesn't cancel chart color changes
...and add missed variable inititialization in options uitest that causes Jenkins to report test failure when testing patches concerning options charts default colors page. Change-Id: I324bcbb7834abf1a270bfce01eb84db280420409 Reviewed-on: https://gerrit.libreoffice.org/67236 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/uitest/options/tdf122977.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/qa/uitest/options/tdf122977.py b/sc/qa/uitest/options/tdf122977.py
index 3ced68542fee..ee8d4ff3b4c1 100644
--- a/sc/qa/uitest/options/tdf122977.py
+++ b/sc/qa/uitest/options/tdf122977.py
@@ -34,6 +34,7 @@ class chartDefaultColors(UITestCase):
xDefault = xDialogOpt.getChild("default")
#click Default - reset
xDefault.executeAction("CLICK", tuple())
+ nrDefaultColors = get_state_as_dict(xColors)["EntryCount"]
nrDefaultColors1 = int(nrDefaultColors) + 1
xAdd.executeAction("CLICK", tuple()) #add new color
self.assertEqual(get_state_as_dict(xColors)["EntryCount"], str(nrDefaultColors1))