diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-02-24 19:02:17 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-02-24 19:48:26 +0100 |
commit | ea25606de5f1a60430a74107b0e2e0986ac1bb15 (patch) | |
tree | b007efab0ffd2f1f4e3e42129e3fe66aba5aa1fa /sw/qa/uitest/writer_tests4 | |
parent | 8e8236500ce862ce27acbbfc7bbeab545931798e (diff) |
uitest: check the value and not the text
This fails for me with
AssertionError: '90%' != '90\xa0%'
- 90%
+ 90 %
Change-Id: Ieec52a4aff721705451a0545eb606c97235b1248
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130507
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/writer_tests4')
-rw-r--r-- | sw/qa/uitest/writer_tests4/exportToPDF.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests4/exportToPDF.py b/sw/qa/uitest/writer_tests4/exportToPDF.py index e242428c40a9..14cc9f5b3fac 100644 --- a/sw/qa/uitest/writer_tests4/exportToPDF.py +++ b/sw/qa/uitest/writer_tests4/exportToPDF.py @@ -57,7 +57,7 @@ class exportToPDF(UITestCase): self.assertEqual("false", get_state_as_dict(xDialog.getChild(child))['Checked']) self.assertEqual("300 DPI", get_state_as_dict(xDialog.getChild("resolution"))['Text']) - self.assertEqual("90%", get_state_as_dict(xDialog.getChild("quality"))['Text']) + self.assertEqual("90", get_state_as_dict(xDialog.getChild("quality"))['Value']) self.assertEqual("FDF", get_state_as_dict(xDialog.getChild("format"))['DisplayText']) xOk = xDialog.getChild("ok") |