mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 00:38:50 +01:00
fix timing issue in cucumber step and fix regression in adding multiple todos
This commit is contained in:
parent
a3d3537da7
commit
e1c0ff0683
3 changed files with 9 additions and 6 deletions
|
|
@ -75,9 +75,7 @@ Then /^I should see the note text$/ do
|
|||
end
|
||||
|
||||
Then /^I should not see the note "([^"]*)"$/ do |note_content|
|
||||
if page.has_selector?("div", :text => note_content)
|
||||
page.find("div", :text => note_content).should_not be_visible
|
||||
end
|
||||
page.should_not have_selector("div", :text => note_content, :visible => true)
|
||||
end
|
||||
|
||||
Then /^I should see the note "([^"]*)"$/ do |note_content|
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ end
|
|||
When /^I cancel the project edit form$/ do
|
||||
click_link "cancel_project_#{@project.id}"
|
||||
page.should_not have_css("submit_project_#{@project.id}")
|
||||
wait_for_animations_to_end
|
||||
end
|
||||
|
||||
When /^I edit the project description to "([^\"]*)"$/ do |new_description|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue