tracks/test/selenium/project_detail/add_note.rsel
2010-08-25 23:57:52 -07:00

14 lines
260 B
Text

setup :fixtures => :all
login :as => 'admin'
#first, defer a todo
open "/projects/1"
click "css=.add_note_link a"
assert_visible "new-note"
type "note_body", "this is a note"
click 'css=#new-note input[type=submit]'
wait_for_text_present "this is a note"