mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 06:21:49 +01:00
add tests for #886.
This commit is contained in:
parent
3d75cd2457
commit
c9be43b2c8
5 changed files with 55 additions and 2 deletions
|
|
@ -7,6 +7,10 @@ module TracksStepHelper
|
|||
selenium.click("xpath=//form[@id='todo-form-new-action']//button[@id='todo_new_action_submit']", :wait_for => :ajax, :javascript_framework => :jquery)
|
||||
end
|
||||
|
||||
def submit_new_context_form
|
||||
selenium.click("xpath=//form[@id='context-form']//button[@id='context_new_submit']", :wait_for => :ajax, :javascript_framework => :jquery)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
World(TracksStepHelper)
|
||||
Loading…
Add table
Add a link
Reference in a new issue