mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 19:28:51 +01:00
first pass of all tests done
This commit is contained in:
parent
598891c1d3
commit
5e477a4d25
16 changed files with 46 additions and 23 deletions
|
|
@ -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|
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue