diff --git a/utilities/acceptance-tests/suites/OntologyManagement/AddOntology.html b/utilities/acceptance-tests/suites/OntologyManagement/AddOntology.html new file mode 100644 index 00000000..4e92463e --- /dev/null +++ b/utilities/acceptance-tests/suites/OntologyManagement/AddOntology.html @@ -0,0 +1,205 @@ + + + + + + +AddOntology + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddOntology
commentAdd SWRC ontology
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust login as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to Ontology List
clickAndWaitlink=Ontology list
assertTitleOntologies
commentMake sure SWRC does not already exist
verifyTextNotPresentSWRC
clickAndWait//input[@value='Add new ontology']
assertTitleOntology Editing Form
commentAdd SWRC
typeNameSWRC
typeURIhttp://swrc.ontoware.org/ontology
typePrefixswrc
clickAndWaitprimaryAction
assertTitleOntology Control Panel
commentVerify that SWRC has been added
verifyTextPresentSWRC
verifyTextPresenthttp://swrc.ontoware.org/ontology#
verifyTextPresentswrc
clickAndWait//input[@value='Show All Ontologies']
assertTitleOntologies
verifyTextPresentSWRC
commentLogout
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/OntologyManagement/DeleteOntology.html b/utilities/acceptance-tests/suites/OntologyManagement/DeleteOntology.html new file mode 100644 index 00000000..01679461 --- /dev/null +++ b/utilities/acceptance-tests/suites/OntologyManagement/DeleteOntology.html @@ -0,0 +1,185 @@ + + + + + + +DeleteOntology + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeleteOntology
commentDelete added ontology to clean up from test
open/vivo/
assertTitleVIVO
commentMust not be logged in already
clickAndWaitlink=Log in
assertTitleVIVO Site Administration
commentMust log in as site admin
typeusernametestAdmin
typepasswordPassword
clickAndWaitloginSubmitMode
assertTitleVIVO Site Administration
commentNavigate to Ontology List
clickAndWaitlink=Ontology list
assertTitleOntologies
commentMake sure SWRC exists
verifyTextPresentSWRC
clickAndWaitlink=SWRC
assertTitleOntology Control Panel
clickAndWait//input[@value='Edit SWRC']
assertTitleOntology Editing Form
commentDelete the SWRC ontology
click_delete
assertConfirmationAre you SURE you want to delete this record? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleOntologies
commentVerify SWRC no longer exists
verifyTextNotPresentSWRC
commentLogout
clickAndWaitlink=Log out
assertTitleVIVO
+ + diff --git a/utilities/acceptance-tests/suites/OntologyManagement/Suite.html b/utilities/acceptance-tests/suites/OntologyManagement/Suite.html new file mode 100644 index 00000000..4d2dec99 --- /dev/null +++ b/utilities/acceptance-tests/suites/OntologyManagement/Suite.html @@ -0,0 +1,15 @@ + + + + + + Test Suite + + + + + + +
Test Suite
AddOntology
DeleteOntology
+ +