From ef615759cbd62f0bc8912c34e5b7860beddceb89 Mon Sep 17 00:00:00 2001 From: hlm7 Date: Wed, 7 Apr 2010 21:49:08 +0000 Subject: [PATCH] --- .../ValidateCustomActivityForm.html | 755 ++++++++++++++++++ 1 file changed, 755 insertions(+) create mode 100644 utilities/acceptance-tests/suites/CreatePeople/ValidateCustomActivityForm.html diff --git a/utilities/acceptance-tests/suites/CreatePeople/ValidateCustomActivityForm.html b/utilities/acceptance-tests/suites/CreatePeople/ValidateCustomActivityForm.html new file mode 100644 index 00000000..c957de30 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/ValidateCustomActivityForm.html @@ -0,0 +1,755 @@ + + + + + + +ValidateCustomActivityForm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValidateCustomActivityForm
commentValidate custom form error checking
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 test faculty member via Index
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
commentMake sure research focus doesn't already exist
verifyTextNotPresentThis is a test name
verifyTextNotPresentThis is a test role
clickAndWait//div[@id='oprop-core-hasResearchActivity']/a
commentDon't enter data in any fields
assertTitleEdit
clickAndWaitsubmit
verifyTextPresentThis field must not be empty.
commentEnter only the name
assertTitleEdit
typelabelThis is a test name
commentEnter only the name and description
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentThis field must not be empty.
typedescriptionThis is a test description
clickAndWaitsubmit
commentEnter name, description, and role but no dates
assertTitleEdit
verifyTextPresentThis field must not be empty.
typeroleThis is a test role
clickAndWaitsubmit
commentVerify that the new research focus was added
assertTitleJane Faculty
verifyTextPresentThis is a test name
verifyTextPresentThis is a test role
clickAndWait//div[@id='oprop-core-hasResearchActivity']/ul/li/span/span/a[1]
commentEdit research focus to add dates
assertTitleEdit
commentAdd invalid start date
typestartYearMonth99-02
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentPlease correct this value: must be a valid year and month (YYYY-MM).
commentAdd correct start date with invalid end date
typestartYearMonth1999-02
typeendYearMonth99-12
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentPlease correct this value: must be a valid year and month (YYYY-MM).
commentAdd correct end date
typeendYearMonth1999-12
clickAndWaitsubmit
commentVerify that date fields are appearing now
assertTitleJane Faculty
verifyTextPresentThis is a test name
verifyTextPresentThis is a test role
verifyTextPresent02/1999 - 12/1999
commentOpen up the research focus entry
clickAndWaitlink=This is a test name
assertTitleThis is a test name
commentVerify that all fields are there
verifyTextPresentJane Faculty
verifyTextPresentAssistant Professor
verifyTextPresentThis is a test role
verifyTextPresentThis is a test description
verifyTextPresent1999-02
verifyTextPresent1999-12
assertTitleThis is a test name
clickAndWait//div[@id='dprop-core-role']/div/div/span/span/a[1]
assertTitleEdit
commentChange the role text
typetinymceThis is a test role 2
clickAndWaitsubmit
commentChange the name text
assertTitleThis is a test name
clickAndWait//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[1]
assertTitleEdit
commentChange the start and end date, with errors first
typetinymce99-01
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentPlease correct this value: must be a valid year and month (YYYY-MM).
typetinymce1999-01
clickAndWaitsubmit
assertTitleThis is a test name
verifyTextPresent1999-01
clickAndWait//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[1]
assertTitleEdit
typetinymce99-11
clickAndWaitsubmit
assertTitleEdit
verifyTextPresentPlease correct this value: must be a valid year and month (YYYY-MM).
typetinymce1999-11
clickAndWaitsubmit
assertTitleThis is a test name
verifyTextPresent1999-11
assertTitleThis is a test name
commentDelete activity one field at a time
clickAndWait//div[@id='dprop-core-endYearMonth']/div/div/span/span/a[2]
assertTitleEdit
clickAndWaitsubmit
assertTitleThis is a test name
clickAndWait//div[@id='dprop-core-startYearMonth']/div/div/span/span/a[2]
assertTitleEdit
clickAndWaitsubmit
assertTitleThis is a test name
clickAndWait//div[@id='dprop-core-description']/div/div/span/span/a[2]
assertTitleEdit
clickAndWaitsubmit
assertTitleThis is a test name
clickAndWait//div[@id='dprop-core-role']/div/div/span/span/a[2]
assertTitleEdit
clickAndWaitsubmit
assertTitleThis is a test name
clickAndWaitlink=edit this individual
commentDelete activity form
assertTitleIndividual Control Panel
clickAndWait//input[@value='Edit This Individual']
assertTitleIndividual Editing Form
click_delete
assertConfirmationAre you SURE you want to delete this entity? If in doubt, CANCEL.
waitForPageToLoad5000
assertTitleVIVO Site Administration
commentNavigate back to test faculty member to verify activity is gone
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
commentVerify activity was deleted
verifyTextNotPresentThis is a test name
commentLog out
clickAndWaitlink=Log out
assertTitleVIVO
+ +