From 300bf173b8d6e54caf3658bdbac31d2b0f18d058 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 17 Aug 2023 23:37:48 +0200 Subject: Fix tests for new navigation request log output --- tests/end2end/features/hints.feature | 8 ++++---- tests/end2end/features/search.feature | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index adac6b8e6..7175e6684 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -251,13 +251,13 @@ Feature: Using hints When I open data/hints/iframe.html And I wait for "* wrapped loaded" in the log And I hint with args "links normal" and follow a - Then "navigation request: url http://localhost:*/data/hello.txt, type Type.link_clicked, *" should be logged + Then "navigation request: url http://localhost:*/data/hello.txt (current http://localhost:*/data/hints/iframe.html), type link_clicked, *" should be logged Scenario: Using :hint-follow inside an iframe button When I open data/hints/iframe_button.html And I wait for "* wrapped_button loaded" in the log And I hint with args "all normal" and follow s - Then "navigation request: url http://localhost:*/data/hello.txt, *" should be logged + Then "navigation request: url http://localhost:*/data/hello.txt (current http://localhost:*/data/hints/iframe_button.html), *" should be logged Scenario: Hinting inputs in an iframe without type When I open data/hints/iframe_input.html @@ -274,12 +274,12 @@ Feature: Using hints And I hint with args "all normal" and follow a And I run :scroll bottom And I hint with args "links normal" and follow a - Then "navigation request: url http://localhost:*/data/hello2.txt, type Type.link_clicked, *" should be logged + Then "navigation request: url http://localhost:*/data/hello2.txt (current http://localhost:*/data/hints/iframe_scroll.html), type link_clicked, *" should be logged Scenario: Opening a link inside a specific iframe When I open data/hints/iframe_target.html And I hint with args "links normal" and follow a - Then "navigation request: url http://localhost:*/data/hello.txt, type Type.link_clicked, *" should be logged + Then "navigation request: url http://localhost:*/data/hello.txt (current ), type link_clicked, *" should be logged Scenario: Opening a link with specific target frame in a new tab When I open data/hints/iframe_target.html diff --git a/tests/end2end/features/search.feature b/tests/end2end/features/search.feature index 68c14ea91..38c474db2 100644 --- a/tests/end2end/features/search.feature +++ b/tests/end2end/features/search.feature @@ -385,7 +385,7 @@ Feature: Searching on a page And I run :search follow And I wait for "search found follow" in the log And I run :selection-follow - Then "navigation request: url http://localhost:*/data/hello.txt, type Type.link_clicked, is_main_frame False" should be logged + Then "navigation request: url http://localhost:*/data/hello.txt (current http://localhost:*/data/iframe_search.html), type link_clicked, is_main_frame False" should be logged @qtwebkit_skip: Not supported in qtwebkit @skip Scenario: Follow a tabbed searched link in an iframe -- cgit v1.2.3-54-g00ecf