test_comment_add
open http://localhost/record/1
clickAndWait link=Discussion
type msg This is a test comment.
clickAndWait //input[@value='Add comment']
type p_un romeo
type p_pw r123omeo
clickAndWait action
verifyTextPresent Your comment was successfully added.
open http://localhost/record/1
clickAndWait link=Discussion
verifyTextPresent romeo wrote
type msg This is a test comment.
verifyTextPresent Your nickname, romeo, will be displayed as author of this comment
clickAndWait link=logout
open http://localhost
clickAndWait link=login
type p_un juliet
type p_pw j123uliet
clickAndWait action
open http://localhost/record/1
clickAndWait link=Discussion
clickAndWait link=Reply
type msg This is a test reply.
verifyTextPresent Your nickname, juliet, will be displayed as author of this comment
clickAndWait //input[@value='Add comment']
clickAndWait link=Back to record
verifyTextPresent juliet wrote
verifyTextPresent This is a test reply.
clickAndWait link=logout