mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 04:35:17 +01:00
fix scenarios for editing a todo, showing empty messages and fix some missing translations
This commit is contained in:
parent
793f7786f1
commit
068c4bf60e
16 changed files with 222 additions and 190 deletions
|
|
@ -27,3 +27,10 @@ Then /^I should see the empty message in the deferred container$/ do
|
|||
selenium.is_visible("xpath=//div[@id='tickler']//div[@id='tickler-empty-nd']")
|
||||
end
|
||||
end
|
||||
|
||||
Then /^I should not see the context "([^"]*)"$/ do |context_name|
|
||||
context = @current_user.contexts.find_by_name(context_name)
|
||||
wait_for :timeout => 5 do
|
||||
!selenium.is_visible("xpath=//div[@id='c#{context.id}']")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue