Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93399070
test_comment_deletereport.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 28, 11:42
Size
3 KB
Mime Type
text/xml
Expires
Sat, Nov 30, 11:42 (2 d)
Engine
blob
Format
Raw Data
Handle
22628384
Attached To
R3600 invenio-infoscience
test_comment_deletereport.html
View Options
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>test_comment_delete_report</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test_comment_delete_report</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>http://localhost/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=login</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>p_un</td>
<td>romeo</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>r123omeo</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost/record/1</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Discussion</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg</td>
<td>Test comment</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Add comment']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your comment was successfully added.</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Back to record</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>romeo</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Test comment</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=login here</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>p_un</td>
<td>juliet</td>
</tr>
<tr>
<td>type</td>
<td>p_pw</td>
<td>j123uliet</td>
</tr>
<tr>
<td>click</td>
<td>action</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost/record/1</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Discussion</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>msg</td>
<td>Another comment</td>
</tr>
<tr>
<td>click</td>
<td>//input[@value='Add comment']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Back to record</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@href='http://pcuds30.cern.ch/admin/webcomment/webcommentadmin.py/del_single_com_auth?ln=en&id=2']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Comment deleted by the author</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/admin/webcomment/webcommentadmin.py/del_single_com_auth?ln=en&id=1</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Authorization failure</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/record/1/comments/display?ln=en&do=od</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//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']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your feedback has been recorded, many thanks</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=logout</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>http://localhost/record/1</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Discussion</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Report abuse</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//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']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>If you already have an account, please login using the form below.</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Event Timeline
Log In to Comment