diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-11 14:55:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-16 22:17:05 +0100 |
commit | 338e562639f947f9aa5fcd7340fe87a57b0f3601 (patch) | |
tree | e35d311d2aeb44e264697bc2228a341408fa8f9d /sc/qa | |
parent | dd552855ea0185954c3c622f54147eb1e6baf0d7 (diff) |
weld ScAutoFormatDlg
Change-Id: I700034eefe9fb25ee331645283bd3611c88faf5b
Reviewed-on: https://gerrit.libreoffice.org/69052
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/uitest/calc_tests6/autoFormat.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sc/qa/uitest/calc_tests6/autoFormat.py b/sc/qa/uitest/calc_tests6/autoFormat.py index e5ecb485e935..c38165f36c36 100644 --- a/sc/qa/uitest/calc_tests6/autoFormat.py +++ b/sc/qa/uitest/calc_tests6/autoFormat.py @@ -32,9 +32,8 @@ class autoFormat(UITestCase): alignmentcb = xDialog.getChild("alignmentcb") autofitcb = xDialog.getChild("autofitcb") - props = {"TEXT": "Financial"} - actionProps = mkPropertyValues(props) - formatlb.executeAction("SELECT", actionProps) + entry = formatlb.getChild("7") #Financial + entry.executeAction("SELECT", tuple()) numformatcb.executeAction("CLICK", tuple()) bordercb.executeAction("CLICK", tuple()) fontcb.executeAction("CLICK", tuple()) @@ -57,9 +56,8 @@ class autoFormat(UITestCase): alignmentcb = xDialog.getChild("alignmentcb") autofitcb = xDialog.getChild("autofitcb") - props = {"TEXT": "Financial"} - actionProps = mkPropertyValues(props) - formatlb.executeAction("SELECT", actionProps) + entry = formatlb.getChild("7") #Financial + entry.executeAction("SELECT", tuple()) self.assertEqual(get_state_as_dict(numformatcb)["Selected"], "false") self.assertEqual(get_state_as_dict(bordercb)["Selected"], "false") self.assertEqual(get_state_as_dict(fontcb)["Selected"], "false") |