migrate mobile selenium scripts to cucumber

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
Reinier Balt 2011-02-27 00:04:04 +01:00
parent 0bfb64d0e2
commit f95cd7fa99
10 changed files with 137 additions and 81 deletions

View file

@ -19,9 +19,18 @@ Feature: Add new next action from mobile page
And the selected context should be "<context>"
Scenarios: # empty means no selected, i.e. first in list is shown
| page | project | context |
| home page | | |
| tickler page | | |
| "test project" project | test project | |
| context page for "test context" | | test context |
| tag page for "starred" | | |
| page | project | context |
| home page | | |
| tickler page | | |
| "test project" project | test project | |
| context page for "test context" | | test context |
| tag page for "starred" | | |
Scenario: I can add a new todo using the mobile interface
Given I am on the home page
Then the badge should show 0
When I follow "0-New action"
And I fill in "Description" with "test me"
And I press "Create"
Then I should see "test me"
And the badge should show 1