summaryrefslogtreecommitdiff
path: root/tests/end2end/features/search.feature
diff options
context:
space:
mode:
authorPhilipp Albrecht <palbrecht@mailbox.org>2023-07-02 13:04:14 +0200
committerPhilipp Albrecht <palbrecht@mailbox.org>2023-07-05 11:16:55 +0200
commit45f6cf01c30261aa4ce983dd7dd4747018943938 (patch)
tree692300f9da3c173af336e113728f65cfae9f56e8 /tests/end2end/features/search.feature
parent73b51d274fc151a7bd2c86c5e5eda90cf065bc9b (diff)
downloadqutebrowser-45f6cf01c30261aa4ce983dd7dd4747018943938.tar.gz
qutebrowser-45f6cf01c30261aa4ce983dd7dd4747018943938.zip
Don't show warning when jumping to next/prev without matches
Diffstat (limited to 'tests/end2end/features/search.feature')
-rw-r--r--tests/end2end/features/search.feature16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/end2end/features/search.feature b/tests/end2end/features/search.feature
index 62b409a19..aad8f2792 100644
--- a/tests/end2end/features/search.feature
+++ b/tests/end2end/features/search.feature
@@ -147,6 +147,14 @@ Feature: Searching on a page
And I run :search-next
Then the error "No search done yet." should be shown
+ # https://github.com/qutebrowser/qutebrowser/issues/7275
+ @qtwebkit_skip
+ Scenario: Jumping to next without matches
+ When I run :search doesnotmatch
+ And I wait for the warning "Text 'doesnotmatch' not found on page!"
+ And I run :search-next
+ Then the warning "Text 'doesnotmatch' not found on page!" should be shown
+
Scenario: Repeating search in a second tab (issue #940)
When I open data/search.html in a new tab
And I run :search foo
@@ -222,6 +230,14 @@ Feature: Searching on a page
And I run :search-prev
Then the error "No search done yet." should be shown
+ # https://github.com/qutebrowser/qutebrowser/issues/7275
+ @qtwebkit_skip
+ Scenario: Jumping to previous without matches
+ When I run :search doesnotmatch
+ And I wait for the warning "Text 'doesnotmatch' not found on page!"
+ And I run :search-prev
+ Then the warning "Text 'doesnotmatch' not found on page!" should be shown
+
## wrapping
Scenario: Wrapping around page