AddProfessionalService1 | ||
comment | Test Custom Form: Professional Service | |
deleteAllVisibleCookies | ||
open | /vivo/ | |
assertTitle | VIVO | |
comment | Must not be logged in already | |
clickAndWait | link=Log in | |
assertTitle | VIVO Site Administration | |
comment | Must login as site admin | |
type | username | testAdmin |
type | password | Password |
clickAndWait | loginSubmitMode | |
assertTitle | VIVO Site Administration | |
comment | Navigate to test faculty member via Index | |
clickAndWait | link=Index | |
assertTitle | Index to VIVO Contents | |
clickAndWait | link=Faculty Member | |
assertTitle | Faculty Member | |
clickAndWait | link=Jane Faculty | |
assertTitle | Jane Faculty | |
comment | Verify that you won't be creating a duplicate | |
verifyTextNotPresent | Private practice | |
verifyTextNotPresent | Doctor | |
verifyTextNotPresent | 06/1990 | |
clickAndWait | //div[@id='oprop-core-hasProfessionalServiceActivity']/a | |
assertTitle | Edit | |
comment | Type in activity information | |
type | label | Private practice |
type | description | Practice focuses on reducing stress while taking cancer drugs. |
type | role | Doctor |
type | startYearMonth | 1990-06 |
clickAndWait | submit | |
assertTitle | Jane Faculty | |
comment | Verify activity info was added properly | |
verifyTextPresent | Private practice | |
verifyTextPresent | Doctor | |
verifyTextPresent | 06/1990 | |
comment | Log out | |
clickAndWait | link=Log out | |
assertTitle | VIVO |