Files: 96cd501395a5a7184948ba07a7ea02a05ae9f23a / app / todos / features / new.feature
616 bytesRaw
1 | Feature: New Todo |
2 | |
3 | Background: |
4 | Given I visit TODOMVC |
5 | And I make sure that there are no todos |
6 | |
7 | Scenario: Pressing enter creates the todo |
8 | When I enter a new todo |
9 | Then it should be appended to the todo list |
10 | |
11 | Scenario: Pressing enter clears the input |
12 | When I enter a new todo |
13 | Then the input should be cleared |
14 | |
15 | Scenario: The input should be trimmed |
16 | When I enter a new todo with extra spaces |
17 | Then the input should be trimmed |
18 | |
19 | Scenario: An empty todo should not be added |
20 | When I enter a new todo |
21 | And I enter a new todo that is empty |
22 | Then it should not add it to the list |
23 |
Built with git-ssb-web