From a119e9d5b02d71cfd5fdfaffd30052cc6bc0eda4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 7 Sep 2016 19:01:24 +0200 Subject: [PATCH] Mark :insert-text with undo test as xfail on OS X --- pytest.ini | 1 + tests/end2end/conftest.py | 2 ++ tests/end2end/features/yankpaste.feature | 1 + 3 files changed, 4 insertions(+) diff --git a/pytest.ini b/pytest.ini index 1147551bb..8a59333e1 100644 --- a/pytest.ini +++ b/pytest.ini @@ -20,6 +20,7 @@ markers = qtwebkit_skip: Tests not applicable with QtWebKit qtwebengine_createWindow: Tests using createWindow with QtWebEngine (QTBUG-54419) qtwebengine_flaky: Tests which are flaky (and currently skipped) with QtWebEngine + qtwebengine_osx_xfail: Tests which fail on OS X with QtWebEngine qt_log_level_fail = WARNING qt_log_ignore = ^SpellCheck: .* diff --git a/tests/end2end/conftest.py b/tests/end2end/conftest.py index aecb9845b..4914422fb 100644 --- a/tests/end2end/conftest.py +++ b/tests/end2end/conftest.py @@ -148,6 +148,8 @@ def pytest_collection_modifyitems(config, items): not config.webengine), ('qtwebengine_flaky', 'Flaky with QtWebEngine', pytest.mark.skipif, config.webengine), + ('qtwebengine_osx_xfail', 'Fails on OS X with QtWebEngine', + pytest.mark.xfail, config.webengine and sys.platform == 'darwin'), ] for item in items: diff --git a/tests/end2end/features/yankpaste.feature b/tests/end2end/features/yankpaste.feature index d4057f14d..667905100 100644 --- a/tests/end2end/features/yankpaste.feature +++ b/tests/end2end/features/yankpaste.feature @@ -250,6 +250,7 @@ Feature: Yanking and pasting. # Compare Then the text field should contain "onHello worlde two three four" + @qtwebengine_osx_xfail Scenario: Inserting text into a text field with undo When I open data/paste_primary.html And I run :click-element id qute-textarea