sc/qa/uitest/calc_tests3/insertQrCodeGen.py | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 755d09864b2c7ca157017ffdfe0f9ec60bed41a4 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Wed Dec 18 16:37:43 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Dec 18 21:10:14 2024 +0100 More --disable-zxing fixing ...in the same vein as ff20399edf0e8ab4c15e802e5b1aa400db42d33c "Some --disable-zxing fixes", this time for UITest_calc_tests3 Change-Id: I836f366ebe0f60a8b2c316ebfcc6782e28046ba5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178732 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/sc/qa/uitest/calc_tests3/insertQrCodeGen.py b/sc/qa/uitest/calc_tests3/insertQrCodeGen.py index a707d9918e58..a28352ce1303 100644 --- a/sc/qa/uitest/calc_tests3/insertQrCodeGen.py +++ b/sc/qa/uitest/calc_tests3/insertQrCodeGen.py @@ -7,12 +7,15 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # +import os from uitest.framework import UITestCase from uitest.uihelper.common import type_text class insertQrCode(UITestCase): def test_insert_qr_code_gen(self): + if os.getenv('ENABLE_ZXING') == 'TRUE': + with self.ui_test.create_doc_in_start_center("calc") as document: with self.ui_test.execute_dialog_through_command(".uno:InsertQrCode") as xDialog: