disable-flaky-tests
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 19 Sep 2021 11:18:06 +0000 (12:18 +0100)
committerRene Engelhard <rene@debian.org>
Sun, 19 Sep 2021 11:18:06 +0000 (12:18 +0100)
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

chart2/Module_chart2.mk
sc/qa/uitest/calc_tests8/tdf126248.py [deleted file]
sc/qa/unoapi/sc_1.sce
sc/qa/unoapi/sc_2.sce
svx/qa/unoapi/svx.sce
sw/qa/uitest/writer_tests3/tdf79236.py
toolkit/Module_toolkit.mk

index 9bcdd7b363e1783a9338e4408b696671841f6b60..bbad067184aa5829268c1b1a4c64e1b6d08778ca 100644 (file)
@@ -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 (file)
index 406a865..0000000
+++ /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:
index 1bc68eabbced8f9c6ac2150db33364773b14877b..c36f36884bc6682734752cff7fded26fcbe80019 100644 (file)
 # 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
index ca7b7b54a042a22cadd9a905888dba99b44f2fb6..f7b5f78f260a0e92b2c7ec7a957c29c84ea05c4a 100644 (file)
 #   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
index 1c3925f5898101425bd65ce5b535107d482eeb7c..a16f0014e4423842af68478b9e31948e2e33577f 100644 (file)
@@ -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
index bd3862b5e27aac1b1a2a6e1b9aecd31409a6dfaf..7761b343acab8b4916bcb82e68865802d7428fee 100644 (file)
@@ -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")
index 21fd5ae92cdc24a37866ccbf45d039a5d65db3a0..6d5bb10b55bc2573f13a89f4fe09c5eaa344786f 100644 (file)
@@ -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: