diff --git a/tests/integration/features/caret.feature b/tests/integration/features/caret.feature index c0351870b..2733768ae 100644 --- a/tests/integration/features/caret.feature +++ b/tests/integration/features/caret.feature @@ -294,3 +294,14 @@ Feature: Caret mode And I run :move-to-end-of-word And I run :follow-selected Then data/hello.txt should be loaded + + Scenario: :follow-selected with --tab + When I run :tab-only + And I run :enter-mode caret + And I run :toggle-selection + And I run :move-to-end-of-word + And I run :follow-selected --tab + Then data/hello.txt should be loaded + And the following tabs should be open: + - data/caret.html + - data/hello.txt (active)