diff --git a/utilities/acceptance-tests/suites/InitialSetup/CreateHTMLPage.html b/utilities/acceptance-tests/suites/InitialSetup/CreateHTMLPage.html new file mode 100644 index 00000000..0aa5ecc9 --- /dev/null +++ b/utilities/acceptance-tests/suites/InitialSetup/CreateHTMLPage.html @@ -0,0 +1,339 @@ + + + + + + +EditSiteInfo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EditSiteInfo
deleteAllVisibleCookies
setTimeout10000000
commentCreate HTML menu page
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=Page management
assertTitlePages
commentAdd a page containing html
clickAndWaitid=submit
assertTitleEdit
selectid=typeSelectlabel=Fixed HTML
typeid=fixedHTMLSaveToVartest
typeid=fixedHTMLValueThis is a test.
clickxpath=(//input[@id='doneWithContent'])[3]
typeid=pageNameTest
typeid=pageNameTest HTML
typeid=pageNameTest HTML Page
typename=prettyUrl/html
clickid=menuCheckbox
typeid=menuLinkTextTest HTML Page
clickAndWaitid=pageSave
assertTitlePages
commentVerify HTML page correct
verifyElementPresentlink=Test HTML Page
verifyTextPresent/html
clickAndWaitlink=Test HTML Page
assertTitleTest HTML Page
verifyTextPresentThis is a test.
commentVeirfy url works
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
open/vivo/html/
assertTitleTest HTML Page
verifyTextPresentThis is a test.
commentDelete the HTML page
clickAndWaitlink=Site Admin
assertTitleVIVO Site Administration
clickAndWaitlink=Page management
assertTitlePages
clickxpath=(//img[@alt='delete'])[7]
assertConfirmationAre you sure you wish to delete this page:  Test HTML Page?
waitForPageToLoad5000
assertTitlePages
commentMake sure it is gone
verifyElementNotPresentlink=Test HTML Page
verifyTextNotPresent/html
commentLogout
clickAndWaitlink=Home
clickAndWaitlink=Log out
assertTitleVIVO
verifyTextPresentLog in
+ +