mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 15:31:47 +01:00
fix selenium tests for handle the new confirmation on adding new contexts
This commit is contained in:
parent
932639ee6a
commit
494cb11903
5 changed files with 8 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ assert_context_count_incremented do
|
|||
type "todo_project_name", "None"
|
||||
type "todo_show_from", "1/1/2030"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
assert_confirmation "New context \"errands\" will be also created. Are you sure?"
|
||||
end
|
||||
wait_for_not_visible "tickler-empty-nd"
|
||||
wait_for_element_present "xpath=//div[@class='item-container'] //a[@title='01/01/2030']"
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ assert_context_count_incremented do
|
|||
type "todo_context_name", "Brand new context"
|
||||
type "todo_show_from", "1/1/2030"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
assert_confirmation "New context \"Brand new context\" will be also created. Are you sure?"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue