mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-28 01:54:07 +01:00
migrate context and context_list features. Drag and drop is still WIP
This commit is contained in:
parent
de309c8ee8
commit
4a8fdbabc2
12 changed files with 246 additions and 94 deletions
|
|
@ -65,7 +65,9 @@ When /I change the (.*) field of "([^\"]*)" to "([^\"]*)"$/ do |field_name, todo
|
|||
todo.should_not be_nil
|
||||
|
||||
open_edit_form_for(todo)
|
||||
selenium.type("css=form.edit_todo_form input[name=#{field_name}]", new_value)
|
||||
within "form.edit_todo_form" do
|
||||
fill_in "#{field_name}", :with => new_value
|
||||
end
|
||||
submit_edit_todo_form(todo)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue