summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2018-06-07 12:50:23 +0200
committerFlorian Bruhin <git@the-compiler.org>2018-06-07 14:36:07 +0200
commit6b5857ef7d2911e6ce05fe9e4c9f1ef4336be653 (patch)
tree71e848f850375b20ce70a14dc7ce79cc2c849354
parentb0f4cc6924e67ff8e68d14f56ff9622afdf2db93 (diff)
downloadqutebrowser-6b5857ef7d2911e6ce05fe9e4c9f1ef4336be653.tar.gz
qutebrowser-6b5857ef7d2911e6ce05fe9e4c9f1ef4336be653.zip
Skip invalid link tests on Qt 5.11
Qt 5.11 just loads about:blank and doesn't let us catch this in acceptNavigationRequest, but the same happens in Chromium as well. See #3661 (cherry picked from commit 999513d5d8cc790b7b072f5c44f06042bd3b82e7)
-rw-r--r--tests/end2end/features/hints.feature2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature
index a1c4d0bde..272c11d1a 100644
--- a/tests/end2end/features/hints.feature
+++ b/tests/end2end/features/hints.feature
@@ -156,11 +156,13 @@ Feature: Using hints
And I hint with args "all run message-info {hint-url}" and follow a
Then the message "http://localhost:(port)/data/hello.txt" should be shown
+ @qt!=5.11.0
Scenario: Clicking an invalid link
When I open data/invalid_link.html
And I hint with args "all" and follow a
Then the error "Invalid link clicked - *" should be shown
+ @qt!=5.11.0
Scenario: Clicking an invalid link opening in a new tab
When I open data/invalid_link.html
And I hint with args "all tab" and follow a