summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-26 21:36:10 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-27 15:34:30 +0100
commit2285fddc6127b3be838a5007e52729c8cb96ebd1 (patch)
treeb8d24575da124069b6d8ba020874830581983e99 /tests
parent0223f62edb487e4328bf93fbce79cebe48a9b3a2 (diff)
downloadqutebrowser-2285fddc6127b3be838a5007e52729c8cb96ebd1.tar.gz
qutebrowser-2285fddc6127b3be838a5007e52729c8cb96ebd1.zip
notifications: Fix Qt 5.13 and 5.14
Diffstat (limited to 'tests')
-rw-r--r--tests/end2end/features/test_notifications_bdd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/end2end/features/test_notifications_bdd.py b/tests/end2end/features/test_notifications_bdd.py
index 15a123be3..1e4bcf641 100644
--- a/tests/end2end/features/test_notifications_bdd.py
+++ b/tests/end2end/features/test_notifications_bdd.py
@@ -88,6 +88,9 @@ def notification_image_dimensions(notification_server, width, height):
@bdd.then('the notification should be closed via web')
def notification_closed(notification_server):
+ if not qtutils.version_check('5.15'):
+ # Signal connection gets lost on Qt 5.14 as the notification gets destroyed
+ pytest.skip("Broken with Qt 5.14")
msg = notification_server.last_msg()
assert msg.closed_via_web