diff --git a/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html b/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html index 93d24789..a71ee315 100644 --- a/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html +++ b/utilities/acceptance-tests/suites/AddPublications/ValidateFields.html @@ -251,7 +251,7 @@ verifyTextPresent - Must specify a publication title. + Please select an existing publication in the Title field or enter a new one. @@ -286,9 +286,14 @@ type - relatedIndLabel + id=title Nintendo O.K. for Kids + + type + id=book + Raising Children in the 21st Century + clickAndWait submit @@ -316,7 +321,7 @@ verifyTextPresent - Nintendo O.K. for Kids + Nintendo O.K. for Kids.  Raising Children in the 21st Century. Ed. Mouse, Minnie.  New York: Marcel Decker. 2009 @@ -466,7 +471,7 @@ clickAndWait - //img[@alt='add'] + css=img.add-individual @@ -504,6 +509,11 @@ Add webpage for Nintendo O.K. for Kids + + verifyTextPresent + URL Type + + verifyTextPresent URL @@ -526,7 +536,7 @@ clickAndWait - //img[@alt='add'] + css=img.add-individual @@ -559,19 +569,59 @@ url: This field must not be empty. + + verifyTextPresent + urlType: This field must not be empty. + + + + select + name=urlType + label=Other + + + clickAndWait + id=submit + + + + assertTitle + Edit + + + + verifyTextPresent + url: This field must not be empty. + + type url http://www.nintendo.com/ - type - anchor + clickAndWait + submit + + verifyTextPresent + urlType: This field must not be empty. + + + + select + name=urlType + label=Other + + + type + url + http://www.nintendo.com/ + clickAndWait - submit + id=submit @@ -581,7 +631,7 @@ clickAndWait - css=a.edit-webpage > img.edit-individual + css=img.add-individual @@ -611,32 +661,7 @@ type - anchor - Company Homepage - - - clickAndWait - submit - - - - assertTitle - Edit - - - - verifyTextPresent - url: This field must not be empty. - - - - type - url - http://www.nintendo.com/ - - - type - anchor + id=anchor Company Homepage @@ -729,11 +754,6 @@ lastName Mouse - - assertTitle - Edit - - type firstName @@ -774,191 +794,6 @@ Nintendo O.K. for Kids - - comment - Add Editor, validating field first - - - - clickAndWait - //h3[@id='editor']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Person for Nintendo O.K. for Kids - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='editor']/a/img - - - - assertTitle - Edit - - - - select - objectVar - label=Mouse, Minnie M - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - - - comment - Add Volume, validating field first - - - - clickAndWait - //h3[@id='volume']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Add new entry for: volume - - - - verifyTextPresent - A volume number. - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='volume']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - 1 - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - - - comment - Add Number, validating field first - - - - clickAndWait - //h3[@id='number']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Add new entry for: number - - - - verifyTextPresent - A generic item or document number. Not to be confused with issue number. A barcode, perhaps? - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='number']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - 9 - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - comment Add Start Page, validating field first @@ -1219,186 +1054,6 @@ Nintendo O.K. for Kids - - comment - Add Publisher, validating field first - - - - clickAndWait - //h3[@id='publisher']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Organization for Nintendo O.K. for Kids - - - - verifyTextPresent - There are no entries in the system from which to select. - - - - verifyTextPresent - Please create a new entry. - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='publisher']/a/img - - - - assertTitle - Edit - - - - select - typeOfNew - label=Publisher (vivo) - - - clickAndWait - submit - - - - assertTitle - Edit - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='publisher']/a/img - - - - assertTitle - Edit - - - - select - typeOfNew - label=Publisher (vivo) - - - clickAndWait - submit - - - - assertTitle - Edit - - - - type - name - Marcel Decker - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - - - comment - Add Place of Publication, validating field first - - - - clickAndWait - //h3[@id='placeOfPublication']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Add new entry for: place of publication - - - - verifyTextPresent - City in which the publication was done. - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='placeOfPublication']/a/img - - - - assertTitle - Edit - - - - waitForElementPresent - tinymce - - - - type - tinymce - New York - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - comment Add Abstract, validating field first @@ -1464,76 +1119,6 @@ Nintendo O.K. for Kids - - comment - Add Published In, validating field first - - - - clickAndWait - //h3[@id='hasPublicationVenue']/a/img - - - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Collection for Nintendo O.K. for Kids - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='hasPublicationVenue']/a/img - - - - assertTitle - Edit - - - - select - typeOfNew - label=Collection (bibo) - - - clickAndWait - submit - - - - assertTitle - Edit - - - - type - name - Raising Children in the 21st Century - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - comment Add Edition, validating field first @@ -1639,6 +1224,16 @@ Edit + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + select typeOfNew @@ -1771,7 +1366,7 @@ clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + id=offerCreate @@ -1910,9 +1505,14 @@ - select - id=objectVar - label=United States of America + type + id=object + United States of + + + click + id=ui-active-menuitem + clickAndWait @@ -1924,56 +1524,6 @@ Nintendo O.K. for Kids - - comment - Add Year, validating field first - - - - clickAndWait - //h3[@id='dateTimeValue']/a - - - - assertTitle - Edit - - - - verifyTextPresent - Create date time value for Nintendo O.K. for Kids - - - - clickAndWait - link=Cancel - - - - assertTitle - Nintendo O.K. for Kids - - - - clickAndWait - //h3[@id='dateTimeValue']/a - - - - type - dateTimeField-year - 2009 - - - clickAndWait - submit - - - - assertTitle - Nintendo O.K. for Kids - - comment Add OCLCNUM validating field first @@ -2426,7 +1976,7 @@ select - objectVar + id=objectVar label=Kids Now Conference Proceedings @@ -2439,6 +1989,451 @@ Nintendo O.K. for Kids + + comment + Add documentation for + + + + clickAndWait + css=a.add-documentationFor > img.add-individual + + + + assertTitle + Edit + + + + click + css=label + + + + verifyTextPresent + Add an entry to: documentation for + + + + verifyTextPresent + Documentation For Name * + + + + verifyElementPresent + link=Cancel + + + + clickAndWait + link=Cancel + + + + assertTitle + Nintendo O.K. for Kids + + + + clickAndWait + css=a.add-documentationFor > img.add-individual + + + + assertTitle + Edit + + + + type + id=object + Kids Now Conference + + + clickAndWait + id=submit + + + + assertTitle + Nintendo O.K. for Kids + + + + comment + Add has global citation frequency + + + + clickAndWait + css=a.add-hasGlobalCitationFrequency > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Global Citation Count for Nintendo O.K. for Kids + + + + verifyTextPresent + There are no entries in the system from which to select. + + + + verifyTextPresent + Please create a new entry. + + + + verifyElementPresent + link=Cancel + + + + clickAndWait + link=Cancel + + + + assertTitle + Nintendo O.K. for Kids + + + + clickAndWait + css=a.add-hasGlobalCitationFrequency > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + 99 + + + clickAndWait + id=submit + + + + assertTitle + Nintendo O.K. for Kids + + + + comment + Add presented at + + + + clickAndWait + css=a.add-presentedAt > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=offerCreate + + + + clickAndWait + link=Cancel + + + + assertTitle + Nintendo O.K. for Kids + + + + clickAndWait + css=a.add-presentedAt > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Kids Now Conference + + + clickAndWait + id=submit + + + + assertTitle + Nintendo O.K. for Kids + + + + comment + Add part of + + + + clickAndWait + css=a.add-partOf > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Document for Nintendo O.K. for Kids + + + + verifyTextPresent + Relates a component of something to the whole thing. + + + + verifyTextPresent + If you don't find the appropriate entry on the selection list above: + + + + verifyElementPresent + link=Cancel + + + + clickAndWait + link=Cancel + + + + assertTitle + Nintendo O.K. for Kids + + + + clickAndWait + css=a.add-partOf > img.add-individual + + + + assertTitle + Edit + + + + assertTitle + Nintendo O.K. for Kids + + + + + + + + + comment + Add cited by + + + + clickAndWait + css=a.add-citedBy > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + If you don't find the appropriate entry on the selection list above: + + + + verifyElementPresent + link=Cancel + + + + clickAndWait + link=Cancel + + + + assertTitle + Nintendo O.K. for Kids + + + + clickAndWait + css=a.add-citedBy > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Kids Today + + + clickAndWait + id=submit + + + + assertTitle + Nintendo O.K. for Kids + + + + comment + cites + + + + clickAndWait + css=a.add-cites > img.add-individual + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Document for Nintendo O.K. for Kids + + + + verifyTextPresent + If you don't find the appropriate entry on the selection list above: + + + + verifyElementPresent + link=Cancel + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Kids of the 21st Century + + + clickAndWait + id=submit + + + + assertTitle + Nintendo O.K. for Kids + + + + clickAndWait + css=a.add-cites > img.add-individual + + + + assertTitle + Edit + + + + clickAndWait + id=offerCreate + + + + assertTitle + Edit + + + + type + id=name + Children Today + + + clickAndWait + id=submit + + + + assertTitle + Nintendo O.K. for Kids + + + + + + + comment Verify all fields display properly diff --git a/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html b/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html new file mode 100644 index 00000000..9e79d74f --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/ReorderMenus.html @@ -0,0 +1,614 @@ + + + + + + +EditSiteInfo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EditSiteInfo
deleteAllVisibleCookies
setTimeout10000000
commentTest Menu Management
open/vivo/
assertTitleVIVO
commentMust be logged out
clickAndWaitlink=Log in
assertTitleLog in to VIVO
commentMust login as site admin
typeloginNametestAdmin@cornell.edu
typeloginPasswordPassword
clickAndWaitloginForm
commentNavigate to Menu Management
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Menu ordering
assertTitleDefault Menu
commentVerify default tabs
verifyTextPresentHome
verifyTextPresentPeople
verifyTextPresentOrganizations
verifyTextPresentResearch
verifyTextPresentEvents
commentVerify default People URL
openhttp://localhost:8080/vivo/people
assertTitlePeople
verifyTextPresentThere is currently no People content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default Organizations URL
openhttp://localhost:8080/vivo/organizations
assertTitleOrganizations
verifyTextPresentThere is currently no Organizations content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default Research URL
openhttp://localhost:8080/vivo/research
assertTitleResearch
verifyTextPresentThere is currently no Research content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default Events URL
openhttp://localhost:8080/vivo/events
assertTitleEvents
verifyTextPresentThere is currently no Events content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default People tab
clickAndWaitlink=People
assertTitlePeople
verifyTextPresentThere is currently no People content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default Organizations tab
clickAndWaitlink=Organizations
assertTitleOrganizations
verifyTextPresentThere is currently no Organizations content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default Research tab
clickAndWaitlink=Research
assertTitleResearch
verifyTextPresentThere is currently no Research content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentVerify default Events tab
clickAndWaitlink=Events
assertTitleEvents
verifyTextPresentThere is currently no Events content in the system
verifyTextPresentYou can add content and manage this site from the Site Administration page.
verifyElementPresentlink=add content and manage this site
verifyTextPresentYou can browse all of the public content currently in the system using the index page.
verifyElementPresentlink=index page
verifyTextPresentExpecting content?
verifyTextPresentTry rebuilding the search index.
verifyElementPresentlink=rebuilding the search index
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
verifyTextPresentLog in
+ +