A whole bunch more Selenium tests working

This commit is contained in:
Eric Allen 2009-10-07 16:32:34 -04:00
parent 6126a6e9d7
commit 86de0a1290
5 changed files with 10 additions and 4 deletions

View file

@ -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'