summaryrefslogtreecommitdiff
path: root/tests/end2end/features/search.feature
diff options
context:
space:
mode:
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