diff --git a/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html new file mode 100644 index 00000000..7bb274f7 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/PublicFacultyInfo.html @@ -0,0 +1,700 @@ + + + +
+ + +AddFacultyInfo2 | ||
deleteAllVisibleCookies | ++ | + |
comment | +Add a second value for fields entered via AddFacultyInfo | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in | ++ |
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 | +Find Jane Faculty via Index | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
verifyTextPresent | +Faculty Member | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Add second value to fields allowed more than one value | ++ |
clickAndWait | +//div[@id='dprop-vitro-links']/a | ++ |
assertTitle | +Edit | ++ |
type | +url | +http://cit.cornell.edu | +
type | +anchor | +CIT Homepage | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='internationalGeographicFocus']/a | ++ |
assertTitle | +Edit | ++ |
select | +objectVar | +label=Africa | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='hasResearchArea']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +//input[@id='submit' and @value='add a new item to this list'] | ++ |
type | +name | +Chimps | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='awardOrDistinction']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +//input[@id='submit' and @value='add a new item to this list'] | ++ |
type | +name | +Chimp Lover for Life | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='freetextKeyword']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +African Chimps | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='webpage']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +//input[@id='submit' and @value='add a new item to this list'] | ++ |
type | +name | +http://africanapes.com/ | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='workPhone']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +607-288-8888 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='workFax']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +607-299-9999 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='workEmail']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +jane@gmail.com | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='mailingAddress']/a | ++ |
assertTitle | +Edit | ++ |
clickAndWait | +//input[@id='submit' and @value='add a new item to this list'] | ++ |
type | +name | +CIT, Cornell University, Ithaca, NY, 14853 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='orcidId']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +454545 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='scopusId']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +67676767 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
clickAndWait | +//div[@id='researcherId']/a | ++ |
assertTitle | +Edit | ++ |
type | +tinymce | +987654321 | +
clickAndWait | +submit | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify all fields added | ++ |
verifyElementPresent | +link=CUL Homepage | ++ |
verifyTextPresent | +(primary link) | ++ |
verifyElementPresent | +link=CIT Homepage | ++ |
verifyTextPresent | +(additional link) | ++ |
verifyTextPresent | +What can I say? | ++ |
verifyTextPresent | +Queen | ++ |
verifyTextPresent | +I study apes, of course. | ++ |
verifyElementPresent | +link=Mozambique | ++ |
verifyElementPresent | +link=Africa | ++ |
verifyElementPresent | +link=Apes | ++ |
verifyTextPresent | +Subject Area | ++ |
verifyTextPresent | +I teach apes how to communicate with humans. | ++ |
verifyTextPresent | +I travel the world teaching apes how to communicate with humans. | ++ |
verifyElementPresent | +link=Chimp Lover for Life | ++ |
verifyTextPresent | +Award or Honor | ++ |
verifyElementPresent | +link=Ape Trainer of the Decade | ++ |
verifyTextPresent | +African Apes | ++ |
verifyTextPresent | +African Primates | ++ |
verifyTextPresent | +African Chimps | ++ |
verifyElementPresent | +link=exact:http://africanapes.com/ | ++ |
verifyTextPresent | +Primary URL Link | ++ |
verifyElementPresent | +link=exact:http://primates-r-us.com | ++ |
verifyTextPresent | +Janette | ++ |
verifyTextPresent | +607-288-8888 | ++ |
verifyTextPresent | +607-277-7777 | ++ |
verifyTextPresent | +jane@gmail.com | ++ |
verifyTextPresent | +mejane@primates-r-us.com | ++ |
verifyElementPresent | +link=CIT, Cornell University, Ithaca, NY, 14853 | ++ |
verifyTextPresent | +Address | ++ |
verifyElementPresent | +link=Jungle 1234, Africa, 1234-56789 | ++ |
verifyTextPresent | +Mrs. | ++ |
verifyTextPresent | +Jr. | ++ |
verifyTextPresent | +11111 | ++ |
verifyTextPresent | +454545 | ++ |
verifyTextPresent | +222222 | ++ |
verifyTextPresent | +67676767 | ++ |
verifyTextPresent | +987654321 | ++ |
verifyTextPresent | +3333333 | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |