bdd: Add some comments to misc.feature.

This commit is contained in:
Florian Bruhin 2015-11-13 23:43:28 +01:00
parent 384c753094
commit 9f1c6e0139

View File

@ -1,5 +1,7 @@
Feature: Various utility commands. Feature: Various utility commands.
## :set-cmd-text
Scenario: :set-cmd-text and :command-accept Scenario: :set-cmd-text and :command-accept
When I run :set-cmd-text :message-info "Hello World" When I run :set-cmd-text :message-info "Hello World"
And I run :command-accept And I run :command-accept
@ -31,6 +33,8 @@ Feature: Various utility commands.
When I run :set-cmd-text foo When I run :set-cmd-text foo
Then the error "Invalid command text 'foo'." should be shown. Then the error "Invalid command text 'foo'." should be shown.
## :message-*
Scenario: :message-error Scenario: :message-error
When I run :message-error "Hello World" When I run :message-error "Hello World"
Then the error "Hello World" should be shown. Then the error "Hello World" should be shown.
@ -43,6 +47,8 @@ Feature: Various utility commands.
When I run :message-warning "Hello World" When I run :message-warning "Hello World"
Then the warning "Hello World" should be shown. Then the warning "Hello World" should be shown.
## :jseval
Scenario: :jseval Scenario: :jseval
When I set general -> log-javascript-console to true When I set general -> log-javascript-console to true
And I run :jseval console.log("Hello from JS!"); And I run :jseval console.log("Hello from JS!");