diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-08-17 23:37:48 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-08-17 23:37:48 +0200 |
commit | 300bf173b8d6e54caf3658bdbac31d2b0f18d058 (patch) | |
tree | 1e9b81fa6c33047ce514539c162a3143dec22f13 | |
parent | a2697feb48e95f8f7491ba7a3db825b5cc520710 (diff) | |
download | qutebrowser-300bf173b8d6e54caf3658bdbac31d2b0f18d058.tar.gz qutebrowser-300bf173b8d6e54caf3658bdbac31d2b0f18d058.zip |
Fix tests for new navigation request log output
-rw-r--r-- | tests/end2end/features/hints.feature | 8 | ||||
-rw-r--r-- | 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 |