diff options
Diffstat (limited to 'tests/end2end/features/editor.feature')
-rw-r--r-- | tests/end2end/features/editor.feature | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/end2end/features/editor.feature b/tests/end2end/features/editor.feature index 1ec6f9d0d..9ca855d27 100644 --- a/tests/end2end/features/editor.feature +++ b/tests/end2end/features/editor.feature @@ -167,25 +167,25 @@ Feature: Opening external editors And I wait for "Read back: bar" in the log Then the javascript message "text: bar" should be logged - ## :edit-command + ## :cmd-edit Scenario: Edit a command and run it - When I run :set-cmd-text :message-info foo + When I run :cmd-set-text :message-info foo And I setup a fake editor replacing "foo" by "bar" - And I run :edit-command --run + And I run :cmd-edit --run Then the message "bar" should be shown And "Leaving mode KeyMode.command (reason: cmd accept)" should be logged Scenario: Edit a command and omit the start char When I setup a fake editor returning "message-info foo" - And I run :edit-command + And I run :cmd-edit Then the error "command must start with one of :/?" should be shown And "Leaving mode KeyMode.command *" should not be logged Scenario: Edit a command to be empty - When I run :set-cmd-text : + When I run :cmd-set-text : When I setup a fake editor returning empty text - And I run :edit-command + And I run :cmd-edit Then the error "command must start with one of :/?" should be shown And "Leaving mode KeyMode.command *" should not be logged |