From 6b5857ef7d2911e6ce05fe9e4c9f1ef4336be653 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 7 Jun 2018 12:50:23 +0200 Subject: 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) --- tests/end2end/features/hints.feature | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-54-g00ecf