diff --git a/utilities/acceptance-tests/suites/AddPublications/AddBook.html b/utilities/acceptance-tests/suites/AddPublications/AddBook.html new file mode 100644 index 00000000..7c4cc171 --- /dev/null +++ b/utilities/acceptance-tests/suites/AddPublications/AddBook.html @@ -0,0 +1,930 @@ + + + +
+ + +AddBook | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add Book | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no books currently exist | ++ |
verifyTextNotPresent | +Book | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add a Publication | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
comment | +Cancel out before doing anything | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add a Publication again | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
comment | +Select to add a book | ++ |
select | +typeSelector | +label=Book | +
comment | +Cancel out before entering in title | ++ |
click | +link=Cancel | ++ |
comment | +Select to add an book again, this time without a title | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Book | +
verifyTextPresent | +Book Title | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must specify a publication title. | ++ |
comment | +Select to add a Book again, this time do it right | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Book | +
type | +relatedIndLabel | +Nintendo: Good or Bad for Kids? | +
clickAndWait | +submit | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
comment | +Verify author info is there | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Add web page for Book | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
comment | +Cancel out | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
comment | +Hit add button without entering anything | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only URL field entered | ++ |
type | +url | +http://www.nintendo.com/ | +
type | +anchor | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only Link Anchor Text field entered | ++ |
type | +url | ++ |
type | +anchor | +Company Homepage | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Now add all required fields for web page | ++ |
type | +url | +http://www.nintendo.com/ | +
type | +anchor | +Company Homepage | +
clickAndWait | +submit | ++ |
comment | +Verify that web page appears properly | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
verifyElementPresent | +link=Company Homepage | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +//div[@id='dprop-vitro-links']/ul/li/span/em | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Add Editor, validating field first | ++ |
comment | +Add Features, validating field first | ++ |
comment | +Add Publisher, validating field first | ++ |
comment | +Add Place of Publication, validating field first | ++ |
comment | +Add Abstract, validating field first | ++ |
comment | +Add Edition, validating field first | ++ |
comment | +Add Presented At, validating field first | ++ |
comment | +Add Status, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | ++ | + |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that an Article link now appears | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyElementPresent | +link=Academic Article | ++ |
verifyTextPresent | +Academic Article (1) | ++ |
verifyElementPresent | +link=Article | ++ |
verifyTextPresent | +Article (1) | ++ |
comment | +Verify article shows up for Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Furter, Frank | ++ |
verifyTextPresent | +publication(s) within the last 10 years incomplete data | ++ |
verifyElementPresent | +//div[@id='pub_count_short_sparkline_vis']/table/tbody/tr/td[3] | ++ |
verifyElementPresent | +link=View all VIVO publications and corresponding co-author network | ++ |
verifyTextPresent | +View all VIVO publications and corresponding co-author network. | ++ |
verifyElementPresent | +link=Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='authorInAuthorship']/ul/li[1]/span | ++ |
comment | +Find article via search | ++ |
type | +search | +nintendo | +
clickAndWait | +submit | ++ |
assertTitle | +nintendo - VIVO Search Results | ++ |
verifyElementPresent | +link=publications | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='content']/div/ul/li | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddArticle | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add CNN article in backend (old way) | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no articles currently exist | ++ |
verifyTextNotPresent | +Academic Article | ++ |
verifyTextNotPresent | +Article | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add an Article | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
comment | +Cancel out before adding anything | ++ |
click | +link=Cancel | ++ |
comment | +Select to add an Article again, this time without a title | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must specify a publication title. | ++ |
comment | +Select to add an Article again, this time do it right | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | +Effect of Nintendo on Kids | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
comment | +Add more info to publication | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Cancel out | ++ |
clickAndWait | +link=Cancel | ++ |
comment | +Hit add button without entering anything | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only URL field entered | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyValue | +url | +http://www.cnn.com/ | +
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only Link Anchor Text field entered | ++ |
type | +url | ++ |
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyValue | +anchor | +Special Report | +
comment | +Now add all required fields | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Special Report | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +//div[@id='dprop-vitro-links']/ul/li/span/em | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that an Article link now appears | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyElementPresent | +link=Academic Article | ++ |
verifyTextPresent | +Academic Article (1) | ++ |
verifyElementPresent | +link=Article | ++ |
verifyTextPresent | +Article (1) | ++ |
comment | +Verify article shows up for Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Furter, Frank | ++ |
verifyTextPresent | +publication(s) within the last 10 years incomplete data | ++ |
verifyElementPresent | +//div[@id='pub_count_short_sparkline_vis']/table/tbody/tr/td[3] | ++ |
verifyElementPresent | +link=View all VIVO publications and corresponding co-author network | ++ |
verifyTextPresent | +View all VIVO publications and corresponding co-author network. | ++ |
verifyElementPresent | +link=Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='authorInAuthorship']/ul/li[1]/span | ++ |
comment | +Find article via search | ++ |
type | +search | +nintendo | +
clickAndWait | +submit | ++ |
assertTitle | +nintendo - VIVO Search Results | ++ |
verifyElementPresent | +link=publications | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='content']/div/ul/li | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddArticle | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add CNN article in backend (old way) | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no articles currently exist | ++ |
verifyTextNotPresent | +Academic Article | ++ |
verifyTextNotPresent | +Article | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add an Article | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
comment | +Cancel out before adding anything | ++ |
click | +link=Cancel | ++ |
comment | +Select to add an Article again, this time without a title | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must specify a publication title. | ++ |
comment | +Select to add an Article again, this time do it right | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | +Effect of Nintendo on Kids | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
comment | +Add more info to publication | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Cancel out | ++ |
clickAndWait | +link=Cancel | ++ |
comment | +Hit add button without entering anything | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only URL field entered | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyValue | +url | +http://www.cnn.com/ | +
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only Link Anchor Text field entered | ++ |
type | +url | ++ |
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyValue | +anchor | +Special Report | +
comment | +Now add all required fields | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Special Report | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +//div[@id='dprop-vitro-links']/ul/li/span/em | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that an Article link now appears | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyElementPresent | +link=Academic Article | ++ |
verifyTextPresent | +Academic Article (1) | ++ |
verifyElementPresent | +link=Article | ++ |
verifyTextPresent | +Article (1) | ++ |
comment | +Verify article shows up for Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Furter, Frank | ++ |
verifyTextPresent | +publication(s) within the last 10 years incomplete data | ++ |
verifyElementPresent | +//div[@id='pub_count_short_sparkline_vis']/table/tbody/tr/td[3] | ++ |
verifyElementPresent | +link=View all VIVO publications and corresponding co-author network | ++ |
verifyTextPresent | +View all VIVO publications and corresponding co-author network. | ++ |
verifyElementPresent | +link=Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='authorInAuthorship']/ul/li[1]/span | ++ |
comment | +Find article via search | ++ |
type | +search | +nintendo | +
clickAndWait | +submit | ++ |
assertTitle | +nintendo - VIVO Search Results | ++ |
verifyElementPresent | +link=publications | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='content']/div/ul/li | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
DeleteArticle | ||
deleteAllVisibleCookies | ++ | + |
comment | +Delete CNN article to cleanup database (backend--old way) | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to the Index to find the Article link | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Article | ++ |
assertTitle | +Article | ++ |
comment | +Select the article to delete | ++ |
clickAndWait | +link=Effect of Nintendo on Kids | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete the article | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
pause | +100000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
comment | +Verify that there are no articles listed | ++ |
verifyTextNotPresent | +Article | ++ |
verifyTextNotPresent | +Academic Article | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddArticle | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add CNN article in backend (old way) | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no articles currently exist | ++ |
verifyTextNotPresent | +Academic Article | ++ |
verifyTextNotPresent | +Article | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add an Article | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
comment | +Cancel out before adding anything | ++ |
click | +link=Cancel | ++ |
comment | +Select to add an Article again, this time without a title | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must specify a publication title. | ++ |
comment | +Select to add an Article again, this time do it right | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | +Effect of Nintendo on Kids | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
comment | +Add more info to publication | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Cancel out | ++ |
clickAndWait | +link=Cancel | ++ |
comment | +Hit add button without entering anything | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only URL field entered | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyValue | +url | +http://www.cnn.com/ | +
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only Link Anchor Text field entered | ++ |
type | +url | ++ |
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyValue | +anchor | +Special Report | +
comment | +Now add all required fields | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Special Report | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +//div[@id='dprop-vitro-links']/ul/li/span/em | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that an Article link now appears | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyElementPresent | +link=Academic Article | ++ |
verifyTextPresent | +Academic Article (1) | ++ |
verifyElementPresent | +link=Article | ++ |
verifyTextPresent | +Article (1) | ++ |
comment | +Verify article shows up for Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Furter, Frank | ++ |
verifyTextPresent | +publication(s) within the last 10 years incomplete data | ++ |
verifyElementPresent | +//div[@id='pub_count_short_sparkline_vis']/table/tbody/tr/td[3] | ++ |
verifyElementPresent | +link=View all VIVO publications and corresponding co-author network | ++ |
verifyTextPresent | +View all VIVO publications and corresponding co-author network. | ++ |
verifyElementPresent | +link=Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='authorInAuthorship']/ul/li[1]/span | ++ |
comment | +Find article via search | ++ |
type | +search | +nintendo | +
clickAndWait | +submit | ++ |
assertTitle | +nintendo - VIVO Search Results | ++ |
verifyElementPresent | +link=publications | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='content']/div/ul/li | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddArticle | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add CNN article in backend (old way) | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no articles currently exist | ++ |
verifyTextNotPresent | +Academic Article | ++ |
verifyTextNotPresent | +Article | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add an Article | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
comment | +Cancel out before adding anything | ++ |
click | +link=Cancel | ++ |
comment | +Select to add an Article again, this time without a title | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must specify a publication title. | ++ |
comment | +Select to add an Article again, this time do it right | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Academic Article | +
type | +relatedIndLabel | +Effect of Nintendo on Kids | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
comment | +Add more info to publication | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
comment | +Cancel out | ++ |
clickAndWait | +link=Cancel | ++ |
comment | +Hit add button without entering anything | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only URL field entered | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyValue | +url | +http://www.cnn.com/ | +
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only Link Anchor Text field entered | ++ |
type | +url | ++ |
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
verifyValue | +anchor | +Special Report | +
comment | +Now add all required fields | ++ |
type | +url | +http://www.cnn.com/ | +
type | +anchor | +Special Report | +
clickAndWait | +submit | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Special Report | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +//div[@id='dprop-vitro-links']/ul/li/span/em | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that an Article link now appears | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyElementPresent | +link=Academic Article | ++ |
verifyTextPresent | +Academic Article (1) | ++ |
verifyElementPresent | +link=Article | ++ |
verifyTextPresent | +Article (1) | ++ |
comment | +Verify article shows up for Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Furter, Frank | ++ |
verifyTextPresent | +publication(s) within the last 10 years incomplete data | ++ |
verifyElementPresent | +//div[@id='pub_count_short_sparkline_vis']/table/tbody/tr/td[3] | ++ |
verifyElementPresent | +link=View all VIVO publications and corresponding co-author network | ++ |
verifyTextPresent | +View all VIVO publications and corresponding co-author network. | ++ |
verifyElementPresent | +link=Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='authorInAuthorship']/ul/li[1]/span | ++ |
comment | +Find article via search | ++ |
type | +search | +nintendo | +
clickAndWait | +submit | ++ |
assertTitle | +nintendo - VIVO Search Results | ++ |
verifyElementPresent | +link=publications | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='content']/div/ul/li | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
AddBook | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add Book | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must login as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that no books currently exist | ++ |
verifyTextNotPresent | +Book | ++ |
comment | +Navigate to Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add a Publication | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
comment | +Cancel out before doing anything | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Furter, Frank | ++ |
comment | +Select to add a Publication again | ++ |
clickAndWait | +//div[@id='authorInAuthorship']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
comment | +Select to add a book | ++ |
select | +typeSelector | +label=Book | +
comment | +Cancel out before entering in title | ++ |
click | +link=Cancel | ++ |
comment | +Select to add an book again, this time without a title | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Book | +
verifyTextPresent | +Book Title | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Must specify a publication title. | ++ |
comment | +Select to add a Book again, this time do it right | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new publication entry for Furter, Frank | ++ |
verifyTextPresent | +Publication Type | ++ |
select | +typeSelector | +label=Book | +
type | +relatedIndLabel | +Nintendo: Good or Bad for Kids? | +
clickAndWait | +submit | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
comment | +Verify author info is there | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Add web page for Book | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
comment | +Cancel out | ++ |
clickAndWait | +link=Cancel | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
comment | +Hit add button without entering anything | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only URL field entered | ++ |
type | +url | +http://www.nintendo.com/ | +
type | +anchor | ++ |
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Add with only Link Anchor Text field entered | ++ |
type | +url | ++ |
type | +anchor | +Company Homepage | +
clickAndWait | +submit | ++ |
assertTitle | +Edit | ++ |
verifyTextPresent | +Create a new primary link for Nintendo: Good or Bad for Kids? | ++ |
verifyTextPresent | +URL | ++ |
verifyTextPresent | +Link anchor text | ++ |
verifyTextPresent | +This field must not be empty. | ++ |
comment | +Now add all required fields for web page | ++ |
type | +url | +http://www.nintendo.com/ | +
type | +anchor | +Company Homepage | +
clickAndWait | +submit | ++ |
comment | +Verify that web page appears properly | ++ |
assertTitle | +Nintendo: Good or Bad for Kids? | ++ |
verifyElementPresent | +link=Company Homepage | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +//div[@id='dprop-vitro-links']/ul/li/span/em | ++ |
verifyElementPresent | +link=Furter, Frank | ++ |
comment | +Add Editor, validating field first | ++ |
comment | +Add Features, validating field first | ++ |
comment | +Add Publisher, validating field first | ++ |
comment | +Add Place of Publication, validating field first | ++ |
comment | +Add Abstract, validating field first | ++ |
comment | +Add Edition, validating field first | ++ |
comment | +Add Presented At, validating field first | ++ |
comment | +Add Status, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | +Add XXXXXX, validating field first | ++ |
comment | ++ | + |
comment | +Naviage back to Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
comment | +Verify that an Article link now appears | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
verifyElementPresent | +link=Academic Article | ++ |
verifyTextPresent | +Academic Article (1) | ++ |
verifyElementPresent | +link=Article | ++ |
verifyTextPresent | +Article (1) | ++ |
comment | +Verify article shows up for Frank Furter | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Furter, Frank | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
refreshAndWait | +10000 | ++ |
assertTitle | +Furter, Frank | ++ |
verifyTextPresent | +publication(s) within the last 10 years incomplete data | ++ |
verifyElementPresent | +//div[@id='pub_count_short_sparkline_vis']/table/tbody/tr/td[3] | ++ |
verifyElementPresent | +link=View all VIVO publications and corresponding co-author network | ++ |
verifyTextPresent | +View all VIVO publications and corresponding co-author network. | ++ |
verifyElementPresent | +link=Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='authorInAuthorship']/ul/li[1]/span | ++ |
comment | +Find article via search | ++ |
type | +search | +nintendo | +
clickAndWait | +submit | ++ |
assertTitle | +nintendo - VIVO Search Results | ++ |
verifyElementPresent | +link=publications | ++ |
verifyTextPresent | +Effect of Nintendo on Kids | ++ |
verifyTextPresent | +Academic Article | ++ |
verifyElementPresent | +//div[@id='content']/div/ul/li | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |
diff --git a/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html b/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html new file mode 100644 index 00000000..7c4cc171 --- /dev/null +++ b/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html @@ -0,0 +1,930 @@ + + + +
+ + +
+ + +
+