diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-07-05 18:25:59 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-07-05 18:25:59 +0200 |
commit | 01aea3d67cfb7b8eeb2febfc141726e082d50998 (patch) | |
tree | 2f3d7e39b0f1bdc5d31119ddc42258d7001dab7e /tests/end2end/conftest.py | |
parent | f0a762d4e9a43c3b749fd864ab8359953718eb5f (diff) | |
download | qutebrowser-01aea3d67cfb7b8eeb2febfc141726e082d50998.tar.gz qutebrowser-01aea3d67cfb7b8eeb2febfc141726e082d50998.zip |
Enable QtWebEngine notification tests on >= 5.13
Diffstat (limited to 'tests/end2end/conftest.py')
-rw-r--r-- | tests/end2end/conftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/end2end/conftest.py b/tests/end2end/conftest.py index ff4e7941b..233524c43 100644 --- a/tests/end2end/conftest.py +++ b/tests/end2end/conftest.py @@ -110,6 +110,7 @@ def _get_backend_tag(tag): pytest_marks = { 'qtwebengine_todo': pytest.mark.qtwebengine_todo, 'qtwebengine_skip': pytest.mark.qtwebengine_skip, + 'qtwebengine_notifications': pytest.mark.qtwebengine_notifications, 'qtwebkit_skip': pytest.mark.qtwebkit_skip, } if not any(tag.startswith(t + ':') for t in pytest_marks): @@ -141,6 +142,10 @@ def pytest_collection_modifyitems(config, items): config.webengine), ('qtwebengine_skip', 'Skipped with QtWebEngine', pytest.mark.skipif, config.webengine), + ('qtwebengine_notifications', + 'Skipped with QtWebEngine < 5.13', + pytest.mark.skipif, + config.webengine and not qtutils.version_check('5.13')), ('qtwebkit_skip', 'Skipped with QtWebKit', pytest.mark.skipif, not config.webengine), ('qtwebengine_flaky', 'Flaky with QtWebEngine', pytest.mark.skipif, |