From 605e90a22222a509bee06e1d23dc372bc858e658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Wed, 10 Aug 2016 13:14:21 +0200 Subject: [PATCH] simplify hints auto-follow tests --- tests/end2end/features/hints.feature | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index fc7dba39c..abaf07a21 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -321,16 +321,8 @@ Feature: Using hints And I set hints -> mode to number And I set hints -> auto-follow to full-match And I run :hint - And I press the key "f" - And I press the key "o" - And I press the key "l" - And I press the key "l" - And I press the key "o" - And I press the key "w" - And I press the key " " - And I press the key "m" - And I press the key "e" - And I press the key "!" + # this actually presses the keys one by one + And I press the key "follow me!" Then data/hello.txt should be loaded Scenario: Using hints -> auto-follow == 'never' in number mode @@ -338,16 +330,8 @@ Feature: Using hints And I set hints -> mode to number And I set hints -> auto-follow to full-match And I run :hint - And I press the key "f" - And I press the key "o" - And I press the key "l" - And I press the key "l" - And I press the key "o" - And I press the key "w" - And I press the key " " - And I press the key "m" - And I press the key "e" - And I press the key "!" + # this actually presses the keys one by one + And I press the key "follow me!" And I press the key "" Then data/hello.txt should be loaded