diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-12-01 16:44:55 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-12-01 16:44:55 +0100 |
commit | 546caffcbafbe385ae2a38255c86b6d3a9dd93ca (patch) | |
tree | d90074d30907869e66fbd70afc1ad34a49e2c417 /tests | |
parent | 5d31f93e5e02e93c838f06335241ad653a58530e (diff) | |
parent | 087c84c0d514563828d9aefa30b7ef814a1c098b (diff) | |
download | qutebrowser-546caffcbafbe385ae2a38255c86b6d3a9dd93ca.tar.gz qutebrowser-546caffcbafbe385ae2a38255c86b6d3a9dd93ca.zip |
Merge remote-tracking branch 'origin/pr/6798'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/end2end/features/search.feature | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/end2end/features/search.feature b/tests/end2end/features/search.feature index 5fafd19f0..305b45690 100644 --- a/tests/end2end/features/search.feature +++ b/tests/end2end/features/search.feature @@ -71,7 +71,25 @@ Feature: Searching on a page When I run :search foo And I wait for "search found foo" in the log And I run :search foo - Then "Ignoring duplicate search request for foo" should be logged + Then "Ignoring duplicate search request for foo, but resetting flags" should be logged + + Scenario: Reset search direction on duplicate search, forward-to-back + When I run :search baz + And I wait for "search found baz" in the log + And I run :search -r baz + And I wait for "Ignoring duplicate search request for baz, but resetting flags" in the log + And I run :search-next + And I wait for "next_result found baz with flags FindBackward" in the log + Then "BAZ" should be found + + Scenario: Reset search direction on duplicate search, back-to-forward + When I run :search -r baz + And I wait for "search found baz with flags FindBackward" in the log + And I run :search baz + And I wait for "Ignoring duplicate search request for baz, but resetting flags" in the log + And I run :search-next + And I wait for "next_result found baz" in the log + Then "baz" should be found ## search.ignore_case |