add tests for #886.

This commit is contained in:
Reinier Balt 2010-07-29 18:06:30 +02:00
parent 3d75cd2457
commit c9be43b2c8
5 changed files with 55 additions and 2 deletions

View file

@ -48,3 +48,23 @@ Feature: Manage contexts
And he should see that a context named "@laptop" is not present
And he should see that a context named "@ipad" is present
And the badge should show 1
@selenium, @wip
Scenario: Add new context
Given I have the following contexts
| name | hide |
| @ipad | true |
| @home | false |
When I go to the contexts page
And I add a new context "@phone"
Then I should see the context "@phone" under "active"
@selenium, @wip
Scenario: Add new hidden context
Given I have the following contexts
| name | hide |
| @ipad | true |
| @home | false |
When I go to the contexts page
And I add a new hidden context "@hidden"
Then I should see the context "@hidden" under "hidden"