Tests: Catch error with :tab-next/:tab-prev and no tabs

Ref #1448
This commit is contained in:
Florian Bruhin 2024-10-17 10:01:10 +02:00
parent 85435c7574
commit 58dec07d27
1 changed files with 4 additions and 2 deletions

View File

@ -1469,14 +1469,16 @@ Feature: Tab management
When I set tabs.last_close to close
And I run :tab-only
And I run :tab-close ;; tab-next
Then qutebrowser should quit
Then the error "No WebView available yet!" should be shown
And qutebrowser should quit
And no crash should happen
Scenario: Using :tab-prev after closing last tab (#1448)
When I set tabs.last_close to close
And I run :tab-only
And I run :tab-close ;; tab-prev
Then qutebrowser should quit
Then the error "No WebView available yet!" should be shown
And qutebrowser should quit
And no crash should happen
Scenario: Opening link with tabs_are_windows set (#2162)