first pass of all tests done

This commit is contained in:
Reinier Balt 2012-05-18 15:33:47 +02:00
parent 598891c1d3
commit 5e477a4d25
16 changed files with 46 additions and 23 deletions

View file

@ -108,7 +108,7 @@ Then /^I should see the page selector$/ do
end
Then /^the page should be "([^"]*)"$/ do |page_number|
page.find(:xpath, ".//span[@class='current']").text.should == page_number
page.find(:xpath, ".//em[@class='current']").text.should == page_number
end
Then /^the project field of the new todo form should contain "([^"]*)"$/ do |project_name|

View file

@ -113,7 +113,7 @@ Feature: Show done
Then I should be on the done recurring todos page
And the page should be "2"
@javascript @wip
@javascript
Scenario: I can toggle a done recurring todo active from done page
Given I have a completed repeat pattern "test pattern"
When I go to the done recurring todos page
@ -181,6 +181,7 @@ Feature: Show done
When I go to the projects page
Then I should see "completed project"
@wip
Scenario Outline: All pages are internationalized
Given I set the locale to "<locale>"
When I go to the <page>