diff --git a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html index 90a4d4be..3ef9a029 100644 --- a/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html +++ b/utilities/acceptance-tests/suites/AddNonPersonThings/CreateOrganization.html @@ -214,6 +214,11 @@ Edit + + verifyTextPresent + Add new entry for: overview + + type tinymce @@ -299,16 +304,6 @@ typeOfNew label=Process (core) - - assertTitle - Edit - - - - verifyTextPresent - Select an existing Process for Primate College of America - - clickAndWait submit @@ -321,12 +316,7 @@ verifyTextPresent - Select an existing Process for Primate College of America - - - - assertTitle - Edit + Edit "funds" entry for Primate College of America @@ -354,6 +344,11 @@ Edit + + verifyTextPresent + Add an entry to: member role of + + clickAndWait submit @@ -374,6 +369,11 @@ Edit + + verifyTextPresent + Add an entry to: offers degree + + select objectVar @@ -399,6 +399,16 @@ Edit + + verifyTextPresent + Add an entry to: predecessor organization + + + + select + objectVar + label=Primate College of America + clickAndWait submit @@ -434,6 +444,11 @@ Edit + + verifyTextPresent + Edit "awards grant" entry for Primate College of America + + type name @@ -459,6 +474,11 @@ Edit + + verifyTextPresent + Select an existing Grant for Primate College of America + + clickAndWait submit @@ -479,6 +499,11 @@ Edit + + verifyTextPresent + Select an existing Award or Honor for Primate College of America + + clickAndWait submit @@ -489,6 +514,11 @@ Edit + + verifyTextPresent + Edit "sponsors award or honor" entry for Primate College of America + + type name @@ -504,21 +534,6 @@ Primate College of America - - clickAndWait - //div[@id='awardConferred']/a - - - - assertTitle - Edit - - - - assertTitle - Primate College of America - - clickAndWait //div[@id='hasEquipment']/a @@ -529,10 +544,30 @@ Edit + + verifyTextPresent + Select an existing Equipment for Primate College of America + + + + clickAndWait + submit + + + + assertTitle + Edit + + + + verifyTextPresent + Edit "has equipment" entry for Primate College of America + + type name - Primate Habitat + Portable Primate Habitat clickAndWait @@ -549,6 +584,151 @@ Test affiliation entry + + clickAndWait + //div[@id='hasSubOrganization']/a + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Organization for Primate College of America + + + + select + typeOfNew + label=Laboratory (core) + + + clickAndWait + //input[@id='submit' and @value='add a new item to this list'] + + + + assertTitle + Edit + + + + verifyTextPresent + Edit "has sub-organization" entry for Primate College of America + + + + type + name + Primate Research Laboratory + + + clickAndWait + submit + + + + assertTitle + Primate College of America + + + + clickAndWait + //div[@id='subOrganizationWithin']/a + + + + assertTitle + Edit + + + + verifyTextPresent + Select an existing Organization for Primate College of America + + + + select + typeOfNew + label=Library (core) + + + clickAndWait + //input[@id='submit' and @value='add a new item to this list'] + + + + assertTitle + Edit + + + + verifyTextPresent + Edit "organization within" entry for Primate College of America + + + + type + name + Primate History Library + + + clickAndWait + submit + + + + assertTitle + Primate College of America + + + + clickAndWait + //div[@id='organizationForPosition']/a + + + + assertTitle + Edit + + + + verifyTextPresent + Create position history entry for Primate College of America + + + + type + title + Dr. + + + type + startYear + 1999 + + + open + /vivo/edit/editRequestDispatch.jsp?subjectUri=http%3A%2F%2Fvivo.local.edu%2Findividual%2Fn3441&predicateUri=http%3A%2F%2Fvivoweb.org%2Fontology%2Fcore%23organizationForPosition + + + + clickAndWait + submit + + + + assertTitle + Primate College of America + + + + clickAndWait + //div[@id='hasLeaderRole']/a + + comment Test publications entry diff --git a/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html b/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html index 0a3f2078..fef1708f 100644 --- a/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html +++ b/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html @@ -274,6 +274,16 @@ //input[@value='Delete'] + + assertConfirmation + Are you SURE you want to delete this entity? If in doubt, CANCEL. + + + + waitForPageToLoad + 5000 + + comment Verify role is gone