support rake cucumber:selenium_wip to run wip for selenium. rake cucumber:wip will only ron non-selnium wip stories. Furthermore some selenium script migration to cucumber

This commit is contained in:
Reinier Balt 2010-11-08 22:36:35 +01:00
parent 8697fd2035
commit 0f525436ff
12 changed files with 56 additions and 70 deletions

View file

@ -19,7 +19,7 @@ Feature: Edit a project
And I should see the bold text "done" in the project description
# Ticket #1043
@selenium, @wip
@selenium @wip
Scenario: I can move a todo out of the current project
Given I have a project "foo" with 2 todos
When I visit the "foo" project
@ -27,6 +27,16 @@ Feature: Edit a project
Then I should not see the todo "Todo 1"
And I should see the todo "Todo 2"
@selenium
Scenario: I can edit the project name in place
Given I have a project "release tracks 1.8" with 1 todos
When I visit the project page for "release tracks 1.8"
And I edit the project name in place to be "release tracks 2.0"
Then I should see the project name is "release tracks 2.0"
When I go to the projects page
Then I should see that a project named "release tracks 1.8" is not present
And I should see that a project named "release tracks 2.0" is present
# Ticket #1041
@selenium
Scenario: I can change the name of the project using the Edit Project Settings form
@ -52,4 +62,7 @@ Feature: Edit a project
When I go to the projects page
Then the badge should show 2 # "manage me" and "test"
When I edit the project name of "manage me" to "test"
Then I should see "Name already exists"
Then I should see "Name already exists"
# No scenario is needed for adding a todo to the project. This is covered in
# shared_add_new_todo.feature "I can add a todo from several pages"