mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 01:38:50 +01:00
migrate preferences, project_* and recurring todo features
This commit is contained in:
parent
d528a87cee
commit
cbe372cba0
17 changed files with 334 additions and 384 deletions
|
|
@ -15,22 +15,6 @@ Then /the badge should show (.*)/ do |number|
|
|||
badge.should == number.to_i
|
||||
end
|
||||
|
||||
Then /^I should see the empty message in the deferred container$/ do
|
||||
page.should have_xpath("//div[@id='tickler']//div[@id='tickler-empty-nd']")
|
||||
end
|
||||
|
||||
Then /^I should see the empty tickler message$/ do
|
||||
wait_for :timeout => 5 do
|
||||
selenium.is_visible("xpath=//div[@id='tickler-empty-nd']")
|
||||
end
|
||||
end
|
||||
|
||||
Then /^I should not see the empty tickler message$/ do
|
||||
wait_for :timeout => 5 do
|
||||
!selenium.is_visible("xpath=//div[@id='tickler-empty-nd']")
|
||||
end
|
||||
end
|
||||
|
||||
Then /^I should see an error flash message saying "([^"]*)"$/ do |message|
|
||||
xpath = "//div[@id='message_holder']/h4[@id='flash']"
|
||||
text = page.find(:xpath, xpath).text
|
||||
|
|
@ -41,3 +25,6 @@ Then /^I should see "([^"]*)" $/ do |text|
|
|||
Then "I should see \"#{text}\""
|
||||
end
|
||||
|
||||
Then /^I should save and open the page$/ do
|
||||
save_and_open_page
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue