Mark :insert-text with undo test as xfail on OS X

This commit is contained in:
Florian Bruhin 2016-09-07 19:01:24 +02:00
parent f8f74400c6
commit a119e9d5b0
3 changed files with 4 additions and 0 deletions

View File

@ -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: .*

View File

@ -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:

View File

@ -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