open |
http://localhost/ |
|
clickAndWait |
link=login |
|
type |
p_un |
romeo |
type |
p_pw |
r123omeo |
clickAndWait |
action |
|
open |
http://localhost/record/1 |
|
clickAndWait |
link=Discussion |
|
type |
msg |
Test comment |
clickAndWait |
//input[@value='Add comment'] |
|
verifyTextPresent |
Your comment was successfully added. |
|
clickAndWait |
link=Back to record |
|
verifyTextPresent |
romeo |
|
verifyTextPresent |
Test 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 |
|
type |
msg |
Another comment |
clickAndWait |
//input[@value='Add comment'] |
|
clickAndWait |
link=Back to record |
|
clickAndWait |
link=Delete comment |
|
verifyTextPresent |
Comment deleted by the author |
|
open |
/admin/webcomment/webcommentadmin.py/del_single_com_auth?ln=en&id=1 |
|
verifyTextPresent |
Authorization failure |
|
open |
/record/1/comments/display?ln=en&do=od |
|
clickAndWait |
link=Report abuse |
|
verifyTextPresent |
Your feedback has been recorded, many thanks |
|
clickAndWait |
link=logout |
|
open |
http://localhost/record/1 |
|
clickAndWait |
link=Discussion |
|
clickAndWait |
link=Report abuse |
|
verifyTextPresent |
please login |
|