Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82389035
test_review_add.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
Wed, Sep 11, 03:16
Size
2 KB
Mime Type
text/xml
Expires
Fri, Sep 13, 03:16 (2 d)
Engine
blob
Format
Raw Data
Handle
20687922
Attached To
R3600 invenio-infoscience
test_review_add.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=
"http://localhost/"
/>
<title>
test_review_add
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
test_review_add
</td></tr>
</thead><tbody>
<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>
clickAndWait
</td>
<td>
link=Reviews
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
score
</td>
<td>
value=4
</td>
</tr>
<tr>
<td>
type
</td>
<td>
note
</td>
<td>
This is a test review title that cannot go in
</td>
</tr>
<tr>
<td>
type
</td>
<td>
msg
</td>
<td>
This is a test review body that cannot go in.
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@value='Add Review']
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Before you add your comment
</td>
<td></td>
</tr>
<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>
jekyll
</td>
</tr>
<tr>
<td>
type
</td>
<td>
p_pw
</td>
<td>
j123ekyll
</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>
clickAndWait
</td>
<td>
link=Reviews
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
score
</td>
<td>
value=4
</td>
</tr>
<tr>
<td>
type
</td>
<td>
note
</td>
<td>
This is a test review title
</td>
</tr>
<tr>
<td>
type
</td>
<td>
msg
</td>
<td>
This is a test review body.
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@value='Add Review']
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
review
</td>
<td></td>
</tr>
<!-- NOTE: Cannot test easily WRT repetitive review adding,
because a user can add only one review. So not testing
explicitly for `success' in here. (an `if' construct would
be needed, or deletion of previously submitted reviews)
-->
<tr>
<td>
verifyTextNotPresent
</td>
<td>
Before you add your comment
</td>
<td></td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
link=Reviews
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
This is a test review title
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Reviewed by jekyll
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
This is a test review body.
</td>
<td></td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
link=logout
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Event Timeline
Log In to Comment