mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-02 15:28:50 +01:00
Fixed some failing Selenium selectors
This commit is contained in:
parent
6d7f10d912
commit
c6249bad0c
3 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
type "todo_description", "choose era"
|
||||
type "todo_show_from", "1/1/2030"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
wait_for_element_present "xpath=//div[@id='tickler'] //div[@class='item-container']"
|
||||
wait_for_element_present "xpath=//div[@id='tickler'] //div[@class='item-container'] //a[@title='01/01/2030']"
|
||||
wait_for_element_present "css=div#tickler div.item-container"
|
||||
wait_for_element_present "css=div#tickler div.item-container a[title=01/01/2030]"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ open "/projects/1"
|
|||
# add new todo
|
||||
type "todo_description", "a brand new todo"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
wait_for_element_present "xpath=//div[@id='p1items'] //div[@class='item-container']"
|
||||
wait_for_element_present "css=div#p1items div.item-container"
|
||||
|
||||
# wait for flash to mention that todo was added and verify existence of new todo
|
||||
wait_for_visible "flash"
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ assert_context_count_incremented do
|
|||
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']"
|
||||
wait_for_element_present "css=div.item-container a[title=01/01/2030]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue