mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-28 10:04:07 +01:00
fix tests for dependencies and fix minor issues
This commit is contained in:
parent
70b2ee1e4f
commit
6a9b3e28d5
15 changed files with 570 additions and 433 deletions
|
|
@ -2,6 +2,10 @@ Given /this is a pending scenario/ do
|
|||
pending
|
||||
end
|
||||
|
||||
Given /^I am working on the mobile interface$/ do
|
||||
@mobile_interface = true
|
||||
end
|
||||
|
||||
Then /the badge should show (.*)/ do |number|
|
||||
badge = -1
|
||||
xpath= "//span[@id='badge_count']"
|
||||
|
|
@ -18,6 +22,8 @@ Then /the badge should show (.*)/ do |number|
|
|||
badge.should == number.to_i
|
||||
end
|
||||
|
||||
Given /^I am working on the mobile interface$/ do
|
||||
@mobile_interface = true
|
||||
Then /^I should see the empty message in the deferred container$/ do
|
||||
wait_for :timeout => 5 do
|
||||
selenium.is_visible("xpath=//div[@id='tickler']//div[@id='tickler-empty-nd']")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue