diff --git a/utilities/acceptance-tests/suites/SearchExclusion/CreateTestFacultyMember.html b/utilities/acceptance-tests/suites/SearchExclusion/CreateTestFacultyMember.html deleted file mode 100644 index e5fdd41e..00000000 --- a/utilities/acceptance-tests/suites/SearchExclusion/CreateTestFacultyMember.html +++ /dev/null @@ -1,234 +0,0 @@ - - - -
- - -CreateTestFacultyMember | ||
comment | -Add test Faculty member named Jane Faculty | -- |
deleteAllVisibleCookies | -- | - |
setTimeout | -10000000 | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
comment | -Must be logged off to start | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
comment | -Must login as the site admin | -- |
type | -loginName | -testAdmin@cornell.edu | -
type | -loginPassword | -Password | -
clickAndWait | -loginForm | -- |
comment | -rebuild the search index in case any crud left from previous tests | -- |
open | -/vivo/SearchIndex | -- |
pause | -5000 | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
verifyTextPresent | -Data Input | -- |
select | -VClassURI | -label=Faculty Member (vivo) | -
clickAndWait | -//input[@value='Add individual of this class'] | -- |
assertTitle | -Edit | -- |
comment | -Add Jane Faculty | -- |
type | -firstName | -Jane | -
type | -lastName | -Faculty | -
clickAndWait | -submit | -- |
comment | -Edit Jane Faculty to add title | -- |
assertTitle | -Faculty, Jane | -- |
clickAndWait | -css=a.add-preferredTitle > img.add-individual | -- |
assertTitle | -Edit | -- |
waitForElementPresent | -tinymce | -- |
type | -tinymce | -Assistant Professor | -
clickAndWait | -submit | -- |
assertTitle | -Faculty, Jane | -- |
comment | -Verify that account was created | -- |
verifyTextPresent | -Faculty, Jane | -- |
verifyTextPresent | -Assistant Professor | -- |
comment | -Logout | -- |
clickAndWait | -link=Home | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
DeleteTestFacultyMember | ||
comment | -Delete test person Jane Faculty | -- |
deleteAllVisibleCookies | -- | - |
setTimeout | -100000 | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
comment | -Must not be logged in | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
comment | -Must log in as site admin | -- |
type | -loginName | -testAdmin@cornell.edu | -
type | -loginPassword | -Password | -
clickAndWait | -loginForm | -- |
comment | -Navigate to Jane Faculty | -- |
clickAndWait | -link=Index | -- |
clickAndWait | -link=Faculty Member | -- |
assertTitle | -Faculty Member | -- |
clickAndWait | -link=Faculty, Jane | -- |
assertTitle | -Faculty, Jane | -- |
clickAndWait | -link=Edit this individual | -- |
comment | -Delete Jane Faculty | -- |
assertTitle | -Individual Control Panel | -- |
clickAndWait | -//input[@value="Edit This Individual"] | -- |
assertTitle | -Individual Editing Form | -- |
click | -_delete | -- |
assertConfirmation | -Are you SURE you want to delete this individual? If in doubt, CANCEL. | -- |
waitForPageToLoad | -10000 | -- |
assertTitle | -VIVO Site Administration | -- |
comment | -Verify that Jane Faculty is indeed gone | -- |
clickAndWait | -link=Index | -- |
refreshAndWait | -10000 | -- |
refreshAndWait | -10000 | -- |
refreshAndWait | -10000 | -- |
refreshAndWait | -10000 | -- |
refreshAndWait | -10000 | -- |
verifyTextNotPresent | -Faculty Member | -- |
comment | -Logout | -- |
clickAndWait | -link=Home | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
RebuildSearchIndex | ||
comment | -Rebuild Search Index | -- |
deleteAllVisibleCookies | -- | - |
setTimeout | -100000000000 | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
type | -id=loginName | -testAdmin@cornell.edu | -
type | -id=loginPassword | -Password | -
clickAndWait | -name=loginForm | -- |
assertTitle | -VIVO | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
clickAndWait | -link=Rebuild search index | -- |
assertTitle | -Rebuild Search Index | -- |
clickAndWait | -name=rebuild | -- |
assertTitle | -Rebuild Search Index | -- |
waitForTextPresent | -Reset the search index and re-populate it. | -- |
clickAndWait | -link=Log out | -- |
AddFacultyMemberRoles1 | ||
comment | -Add people back to searches | -- |
deleteAllVisibleCookies | -- | - |
setTimeout | -100000 | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
comment | -Must be logged off to start | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
comment | -Must login as the site admin | -- |
type | -loginName | -testAdmin@cornell.edu | -
type | -loginPassword | -Password | -
clickAndWait | -loginForm | -- |
comment | -Remove exclusion--not a way to do this at this point | -- |
comment | -Make sure Jane does show up now | -- |
type | -name=querytext | -jane | -
clickAndWait | -css=input.search | -- |
assertTitle | -jane - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'jane' | -- |
verifyTextPresent | -Faculty, Jane | -- |
type | -name=querytext | -faculty | -
clickAndWait | -css=input.search | -- |
assertTitle | -faculty - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'faculty' | -- |
verifyTextPresent | -Faculty, Jane | -- |
type | -name=querytext | -professor | -
clickAndWait | -css=input.search | -- |
assertTitle | -professor - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'professor' | -- |
verifyTextPresent | -Faculty, Jane | -- |
comment | -Log out | -- |
clickAndWait | -link=Home | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
AddFacultyMemberRoles1 | ||
comment | -Exclude people from searches | -- |
deleteAllVisibleCookies | -- | - |
setTimeout | -100000 | -- |
open | -/vivo/ | -- |
assertTitle | -VIVO | -- |
comment | -Must be logged off to start | -- |
clickAndWait | -link=Log in | -- |
assertTitle | -Log in to VIVO | -- |
comment | -Must login as the site admin | -- |
type | -loginName | -testAdmin@cornell.edu | -
type | -loginPassword | -Password | -
clickAndWait | -loginForm | -- |
comment | -Verify Jane is included now | -- |
type | -name=querytext | -jane | -
clickAndWait | -css=input.search | -- |
assertTitle | -jane - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'jane' | -- |
verifyTextPresent | -Faculty, Jane Assistant Professor | -- |
verifyElementPresent | -link=Faculty, Jane | -- |
comment | -Setup exclusion | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
clickAndWait | -link=Ingest tools | -- |
assertTitle | -Ingest Menu | -- |
clickAndWait | -link=Manage Jena Models | -- |
assertTitle | -Available Models | -- |
clickAndWait | -css=form[name="rdbform"] > input[name="submit"] | -- |
assertTitle | -Available Models | -- |
clickAndWait | -css=li > table > tbody > tr > td > form > input[name="submit"] | -- |
assertTitle | -Load RDF Data | -- |
type | -name=filePath | -C:\VIVO\vivo\utilities\acceptance-tests\suites\SearchExclusion\TestSearchExclusion.n3 | -
select | -name=language | -label=N3 | -
clickAndWait | -name=submit | -- |
assertTitle | -Available Models | -- |
clickAndWait | -link=Site Admin | -- |
assertTitle | -VIVO Site Administration | -- |
clickAndWait | -link=Rebuild search index | -- |
assertTitle | -Rebuild Search Index | -- |
clickAndWait | -name=rebuild | -- |
assertTitle | -Rebuild Search Index | -- |
waitForTextPresent | -Reset the search index and re-populate it. | -- |
comment | -Make sure Jane doesn't show up now | -- |
type | -name=querytext | -jane | -
clickAndWait | -css=input.search | -- |
assertTitle | -jane - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'jane' | -- |
verifyTextNotPresent | -Faculty, Jane | -- |
type | -name=querytext | -faculty | -
clickAndWait | -css=input.search | -- |
assertTitle | -faculty - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'faculty' | -- |
verifyTextNotPresent | -Faculty, Jane | -- |
type | -name=querytext | -professor | -
clickAndWait | -css=input.search | -- |
assertTitle | -professor - VIVO Search Results | -- |
verifyTextPresent | -Search results for 'professor' | -- |
verifyTextNotPresent | -Faculty, Jane | -- |
comment | -Log out | -- |
clickAndWait | -link=Home | -- |
clickAndWait | -link=Log out | -- |
assertTitle | -VIVO | -- |
Test Suite |
RebuildSearchIndex - |
CreateTestFacultyMember |
SetupExclusion |
RemoveExclusion |
DeleteTestFacultyMember |