tracks/test/selenium/project_detail/add_note.rsel

15 lines
264 B
Text
Raw Normal View History

2009-10-15 21:16:22 -04:00
setup :fixtures => :all
login :as => 'admin'
#first, defer a todo
open "/projects/1"
click "css=.add_note_link a"
assert_visible "new-note"
type "new_note_body", "this is a note"
click 'css=#new-note input[type=submit]'
wait_for_text_present "this is a note"