diff --git a/modules/webcomment/web/test_comment_add.html b/modules/webcomment/web/test_comment_add.html index 1c90d4ead..e59577784 100644 --- a/modules/webcomment/web/test_comment_add.html +++ b/modules/webcomment/web/test_comment_add.html @@ -1,192 +1,162 @@ test_comment_add - + - - - - - - - - - - - - - - - + + + + + - + - - - - - - - - - - - - - - - - - - - - - +
test_comment_add
open http://localhost/record/1
clickAndWait link=Discussion
type msgThis cannot go in.This is a test comment.
clickAndWait //input[@value='Add comment']
verifyTextPresentBefore you add your comment
openhttp://localhost
clickAndWaitlink=login
type p_un romeo
type p_pw r123omeo
clickAndWait action
verifyTextPresentYour comment was successfully added.
open http://localhost/record/1
clickAndWait link=Discussion
verifyTextPresentYour nickname, romeo, will be displayed as author of this commentromeo wrote
type msg This is a test comment.
clickAndWait//input[@value='Add comment']
verifyTextPresentYour comment was successfully added.
clickAndWaitlink=Back to record
verifyTextPresentromeo wrote
verifyTextPresentThis is a test comment.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
diff --git a/modules/webcomment/web/test_comment_deletereport.html b/modules/webcomment/web/test_comment_deletereport.html index 177313cae..01bce69aa 100644 --- a/modules/webcomment/web/test_comment_deletereport.html +++ b/modules/webcomment/web/test_comment_deletereport.html @@ -1,197 +1,202 @@ test_comment_delete_report - - + + + + + + +
test_comment_delete_report
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
clicklink=login hereopenhttp://localhost
clickAndWaitlink=login
type p_un juliet
type p_pw j123uliet
click action
open http://localhost/record/1
click link=Discussion
type msg Another comment
click //input[@value='Add comment']
click link=Back to record
click //a[@href='http://pcuds30.cern.ch/admin/webcomment/webcommentadmin.py/del_single_com_auth?ln=en&id=2']
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 //a[@href='http://pcuds30.cern.ch/record/1/comments/report?ln=en&comid=1&do=od&ds=all&nb=100&p=1&referer=http://pcuds30.cern.ch/record/1/comments/display']
verifyTextPresent Your feedback has been recorded, many thanks
clickAndWait link=logout
open http://localhost/record/1
click link=Discussion
clickAndWait link=Report abuse
clickAndWait //a[@href='http://pcuds30.cern.ch/record/1/comments/report?ln=en&comid=1&do=od&ds=all&nb=100&p=1&referer=http://pcuds30.cern.ch/record/1/comments/display']
verifyTextPresent If you already have an account, please login using the form below.
diff --git a/modules/webcomment/web/test_review_add.html b/modules/webcomment/web/test_review_add.html index c310544e9..19869c490 100644 --- a/modules/webcomment/web/test_review_add.html +++ b/modules/webcomment/web/test_review_add.html @@ -1,157 +1,107 @@ test_review_add - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + +
test_review_add
open http://localhost/record/1
clickAndWait link=Discussion
clickAndWait link=Reviews
select score value=4
type noteThis is a test review title that cannot go inThis is a test review title
type msgThis is a test review body that cannot go in.This is a test review body.
clickAndWait //input[@value='Add Review']
verifyTextPresentBefore you add your comment
openhttp://localhost
clickAndWaitlink=login
type p_un jekyll
type p_pw j123ekyll
clickAndWait action
openhttp://localhost/record/1
clickAndWaitlink=Discussion
clickAndWaitlink=Reviews
selectscorevalue=4
typenoteThis is a test review title
typemsgThis is a test review body.
clickAndWait//input[@value='Add Review']
verifyTextPresent review
verifyTextNotPresentBefore you add your commentopenhttp://localhost/record/1
clickAndWaitlink=Reviewslink=Discussion
clickAndWaitlink=Reviews
verifyTextPresent This is a test review title
verifyTextPresent Reviewed by jekyll
verifyTextPresent This is a test review body.
clickAndWait link=logout