From: Debian LibreOffice Maintainers Date: Mon, 17 Jan 2022 02:12:08 +0000 (+0000) Subject: disable-flaky-tests X-Git-Tag: archive/raspbian/1%7.3.0_rc2-3+rpi1~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=79fcb4c78a10c65808cca3867b15772fd45cd133;p=libreoffice.git disable-flaky-tests 14:13 < mst__> _rene_, the toolkit unoapi tests are known to be flaky (in some system dependent way) e.g. on the Win@6 tinderbox it always crashes 14:14 < mst__> _rene_, sc.ScAccessible* tests also fail on some systems some of the time Gbp-Pq: Name disable-flaky-tests.diff --- diff --git a/chart2/Module_chart2.mk b/chart2/Module_chart2.mk index 9bcdd7b363e..bbad067184a 100644 --- a/chart2/Module_chart2.mk +++ b/chart2/Module_chart2.mk @@ -31,10 +31,10 @@ $(eval $(call gb_Module_add_slowcheck_targets,chart2,\ CppunitTest_chart2_export2 \ CppunitTest_chart2_import \ CppunitTest_chart2_trendcalculators \ - CppunitTest_chart2_dump \ CppunitTest_chart2_pivot_chart_test \ CppunitTest_chart2_geometry \ )) +# CppunitTest_chart2_dump \ ifeq ($(ENABLE_CHART_TESTS),TRUE) ifeq ($(WITH_FONTS), TRUE) diff --git a/sc/qa/uitest/calc_tests8/tdf126248.py b/sc/qa/uitest/calc_tests8/tdf126248.py deleted file mode 100644 index 406a8657465..00000000000 --- a/sc/qa/uitest/calc_tests8/tdf126248.py +++ /dev/null @@ -1,96 +0,0 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -from uitest.framework import UITestCase -from uitest.uihelper.common import get_state_as_dict -from libreoffice.uno.propertyvalue import mkPropertyValues -from uitest.uihelper.calc import enter_text_to_cell -from uitest.uihelper.common import select_pos -from uitest.uihelper.common import select_by_text - -class tdf126248(UITestCase): - - def assertFontName(self, gridwin, fontName): - - #Open the sidebar - self.xUITest.executeCommand(".uno:Sidebar") - gridwin.executeAction("SIDEBAR", mkPropertyValues({"PANEL": "TextPropertyPanel"})) - - xCalcDoc = self.xUITest.getTopFocusWindow() - - xFontName = xCalcDoc.getChild("fontnamecombobox") - self.ui_test.wait_until_property_is_updated(xFontName, "Text", fontName) - self.assertEqual(fontName, get_state_as_dict(xFontName)['Text']) - - #Close the sidebar - self.xUITest.executeCommand(".uno:Sidebar") - - def changeLocalSetting(self, language): - self.ui_test.execute_dialog_through_command(".uno:OptionsTreeDialog") - xDialog = self.xUITest.getTopFocusWindow() - - xPages = xDialog.getChild("pages") - xLanguageEntry = xPages.getChild('2') - xLanguageEntry.executeAction("EXPAND", tuple()) - xxLanguageEntryGeneralEntry = xLanguageEntry.getChild('0') - xxLanguageEntryGeneralEntry.executeAction("SELECT", tuple()) - - # Check asian support is enabled - asianlanguage = xDialog.getChild("asiansupport") - self.assertEqual("true", get_state_as_dict(asianlanguage)['Selected']) - - localeSetting = xDialog.getChild("localesetting") - select_by_text(localeSetting, language) - self.ui_test.wait_until_property_is_updated(localeSetting, 'SelectEntryText', language) - self.assertEqual(language, get_state_as_dict(localeSetting)['SelectEntryText']) - - xOKBtn = xDialog.getChild("ok") - self.ui_test.close_dialog_through_button(xOKBtn) - - - def test_tdf126248(self): - - self.ui_test.create_doc_in_start_center("calc") - - self.changeLocalSetting("Chinese (traditional)") - - self.ui_test.execute_dialog_through_command(".uno:FormatCellDialog") - xCellsDlg = self.xUITest.getTopFocusWindow() - - # Get current font names from the Format Cell dialog - westFontName = get_state_as_dict(xCellsDlg.getChild("westfontnamelb-cjk"))['Text'] - eastFontName = get_state_as_dict(xCellsDlg.getChild("eastfontnamelb"))['Text'] - - okBtn = xCellsDlg.getChild("ok") - self.ui_test.close_dialog_through_button(okBtn) - - xCalcDoc = self.xUITest.getTopFocusWindow() - gridwin = xCalcDoc.getChild("grid_window") - - enter_text_to_cell(gridwin, "A1", "Test") - - # Without the fix in place, this test would have failed here - self.assertFontName(gridwin, westFontName) - - enter_text_to_cell(gridwin, "B1", "測試") - - self.assertFontName(gridwin, eastFontName) - - self.changeLocalSetting("English (USA)") - - enter_text_to_cell(gridwin, "C1", "Test") - - self.assertFontName(gridwin, westFontName) - - enter_text_to_cell(gridwin, "D1", "測試") - - self.assertFontName(gridwin, eastFontName) - - self.ui_test.close_doc() - - -# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sc/qa/unoapi/sc_1.sce b/sc/qa/unoapi/sc_1.sce index 1bc68eabbce..c36f36884bc 100644 --- a/sc/qa/unoapi/sc_1.sce +++ b/sc/qa/unoapi/sc_1.sce @@ -18,10 +18,3 @@ # i84554 -o sc.AccessibleEditableTextPara_PreviewNote # i88241 -o sc.AccessibleEditableTextPara_HeaderFooter -o sc.AccessibleEditableTextPara_PreviewCell --o sc.ScAccessibleCell -# i91044 -o sc.ScAccessibleCsvCell -# i91044 -o sc.ScAccessibleCsvGrid -# i84641 -o sc.ScAccessibleCsvRuler -# i88330 -o sc.ScAccessibleDocument -# i91045 -o sc.ScAccessibleDocumentPagePreview --o sc.ScAccessiblePageHeader diff --git a/sc/qa/unoapi/sc_2.sce b/sc/qa/unoapi/sc_2.sce index ca7b7b54a04..f7b5f78f260 100644 --- a/sc/qa/unoapi/sc_2.sce +++ b/sc/qa/unoapi/sc_2.sce @@ -15,11 +15,6 @@ # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # -# fdo#FOO -o sc.ScAccessiblePageHeaderArea --o sc.ScAccessiblePreviewCell --o sc.ScAccessiblePreviewHeaderCell --o sc.ScAccessiblePreviewTable -# fdo#45337 -o sc.ScAccessibleSpreadsheet # FIXME_REMOVE_WHEN_RE_BASE_COMPLETE # -o sc.ScAnnotationShapeObj -o sc.ScAutoFormatFieldObj diff --git a/svx/qa/unoapi/svx.sce b/svx/qa/unoapi/svx.sce index 1c3925f5898..a16f0014e44 100644 --- a/svx/qa/unoapi/svx.sce +++ b/svx/qa/unoapi/svx.sce @@ -25,7 +25,7 @@ #i111216 -o svx.AccessiblePresentationGraphicShape #i111216 -o svx.AccessiblePresentationOLEShape #i85539 -o svx.AccessiblePresentationShape --o svx.AccessibleShape +#-o svx.AccessibleShape #i90294 -o svx.GraphicExporter -o svx.SvxDrawPage #i85501 -o svx.SvxGraphCtrlAccessibleContext diff --git a/sw/qa/uitest/writer_tests3/tdf79236.py b/sw/qa/uitest/writer_tests3/tdf79236.py index bd3862b5e27..7761b343aca 100644 --- a/sw/qa/uitest/writer_tests3/tdf79236.py +++ b/sw/qa/uitest/writer_tests3/tdf79236.py @@ -7,8 +7,11 @@ from uitest.framework import UITestCase from uitest.uihelper.common import type_text +import unittest + class tdf79236(UITestCase): + @unittest.skip("Currently broken") def test_paragraph(self): self.ui_test.create_doc_in_start_center("writer") diff --git a/toolkit/Module_toolkit.mk b/toolkit/Module_toolkit.mk index 21fd5ae92cd..6d5bb10b55b 100644 --- a/toolkit/Module_toolkit.mk +++ b/toolkit/Module_toolkit.mk @@ -33,11 +33,11 @@ endif ifneq ($(OOO_JUNIT_JAR),) $(eval $(call gb_Module_add_subsequentcheck_targets,toolkit,\ JunitTest_toolkit_complex \ - JunitTest_toolkit_unoapi_1 \ - JunitTest_toolkit_unoapi_2 \ - JunitTest_toolkit_unoapi_3 \ - JunitTest_toolkit_unoapi_4 \ )) endif +# JunitTest_toolkit_unoapi_1 \ +# JunitTest_toolkit_unoapi_2 \ +# JunitTest_toolkit_unoapi_3 \ +# JunitTest_toolkit_unoapi_4 \ # vim: set noet sw=4 ts=4: