summaryrefslogtreecommitdiff
path: root/sw/qa/uitest
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-03-23 14:24:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-03-24 07:59:40 +0100
commit10fbf2b80e11620f3fc1691aa7968e6d3d460db9 (patch)
tree29615dc0ff47d6a022fb4d156221759d1191bf9e /sw/qa/uitest
parent7fb85fa0f0a85384f085b13e7d08113f63392445 (diff)
Skip a problematic UITest for --with-help=html/online
Change-Id: I703eba78bb2980ac27dd11f36e03ef86c9662338 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112993 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r--sw/qa/uitest/writer_tests3/hyperlinkdialog.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
index c2b9a85b7618..6e28a02b2dfa 100644
--- a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
+++ b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
@@ -8,6 +8,7 @@
#
from uitest.framework import UITestCase
+import os
import time
from uitest.uihelper.common import get_state_as_dict, type_text
from libreoffice.uno.propertyvalue import mkPropertyValues
@@ -81,6 +82,12 @@ class HyperlinkDialog(UITestCase):
self.ui_test.close_doc()
def test_tdf141166(self):
+ # Skip this test for --with-help=html and --with-help=online, as that would fail with a
+ # DialogNotExecutedException("did not execute a dialog for a blocking action") thrown from
+ # the below execute_blocking_action call (and would leave behind the relevant HTML page
+ # opened in the user's default browser):
+ if os.getenv('ENABLE_HTMLHELP') == 'TRUE':
+ return
self.ui_test.create_doc_in_start_center("writer")
xWriterDoc = self.xUITest.getTopFocusWindow()