26 lines
702 B
Gherkin
26 lines
702 B
Gherkin
Feature: /help command — show command reference
|
|
|
|
Background:
|
|
Given user "user_abc123" is sending commands
|
|
|
|
Scenario: /help lists all commands
|
|
When user sends "/help"
|
|
Then reply contains "/new"
|
|
And reply contains "/status"
|
|
And reply contains "/close"
|
|
And reply contains "/switch"
|
|
And reply contains "/direct"
|
|
And reply contains "/smart"
|
|
And reply contains "/shell"
|
|
And reply contains "/remind"
|
|
And reply contains "/tasks"
|
|
And reply contains "/nodes"
|
|
|
|
Scenario: /h alias works
|
|
When user sends "/h"
|
|
Then reply contains "/new"
|
|
|
|
Scenario: Unknown command is not handled
|
|
When user sends "/unknown_xyz_cmd"
|
|
Then command is not handled
|