AddTeachingFocus1 | ||
comment | Test Custom Form: Teaching Focus and Activity | |
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 | Drug Interactons | |
verifyTextNotPresent | Associate Professor | |
verifyTextNotPresent | 02/2001 - 02/2012 | |
clickAndWait | //div[@id='oprop-core-hasTeachingActivity']/a | |
assertTitle | Edit | |
comment | Type in activity information | |
type | label | Drug Interactions |
type | description | Teaching how drugs interact with one another. |
type | role | Associate Professor |
type | startYearMonth | 2001-02 |
type | endYearMonth | 2012-02 |
clickAndWait | submit | |
assertTitle | Jane Faculty | |
comment | Verify activity info was added properly | |
verifyTextPresent | Drug Interactions | |
verifyTextPresent | Associate Professor | |
verifyTextPresent | 02/2001 - 02/2012 | |
comment | Log out | |
clickAndWait | link=Log out | |
assertTitle | VIVO |