mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-29 12:16:11 +01:00
fix failing cucumber tests
fix data export view fix mentions of tag on tag page fix autocomplete for tags
This commit is contained in:
parent
4227aede6c
commit
d6e66fa517
13 changed files with 28 additions and 21 deletions
|
|
@ -198,7 +198,11 @@ When /^I add a note "([^"]*)" to the project$/ do |note_body|
|
|||
page.should have_css "div.widgets button#submit_note"
|
||||
fill_in "note[body]", :with => note_body
|
||||
click_button "Add note"
|
||||
page.should_not have_css "div.widgets button#submit_note"
|
||||
|
||||
submit_button = "div.widgets button#submit_note"
|
||||
elem = find(submit_button)
|
||||
elem.should_not be_nil # form is hidden
|
||||
elem.should_not be_visible
|
||||
end
|
||||
|
||||
When /^I click on the first note icon$/ do
|
||||
|
|
|
|||
|
|
@ -173,7 +173,9 @@ When /^I edit the tags of "([^"]*)" to "([^"]*)"$/ do |action_description, tags|
|
|||
todo.should_not be_nil
|
||||
|
||||
open_edit_form_for(todo)
|
||||
fill_in "todo_tag_list", :with => tags
|
||||
within "form#form_todo_#{todo.id}" do
|
||||
fill_in "tag_list", :with => tags
|
||||
end
|
||||
submit_edit_todo_form(todo)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue