mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
A whole bunch more Selenium tests working
This commit is contained in:
parent
6126a6e9d7
commit
86de0a1290
5 changed files with 10 additions and 4 deletions
|
|
@ -3,7 +3,10 @@ login :as => 'admin'
|
|||
|
||||
# set project to hidden state
|
||||
open "/projects/2"
|
||||
click 'css=.project_settings a'
|
||||
wait_for_visible "project_state_hidden"
|
||||
click 'project_state_hidden'
|
||||
click 'submit_project_2'
|
||||
# wait for flash before navigating away from project page to make sure that
|
||||
# the changes have been saved
|
||||
wait_for_visible "flash"
|
||||
|
|
@ -24,4 +27,4 @@ wait_for_visible "flash"
|
|||
verify_text_not_present 'should be hidden'
|
||||
|
||||
# badge count should still be same
|
||||
assert_text 'badge_count', '7'
|
||||
assert_text 'badge_count', '7'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue