diff --git a/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html b/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html index a2ac3560..d892bfe9 100644 --- a/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html +++ b/utilities/acceptance-tests/suites/AddRoles/CheckRepairMode.html @@ -31,7 +31,7 @@ comment - Test repair mode using Jane Faculty + Test repair mode using Lily Librarian @@ -91,7 +91,7 @@ comment - Navigate to Jane Faculty + Navigate to Lily Librarian @@ -106,22 +106,22 @@ clickAndWait - link=Faculty Member + link=Librarian assertTitle - Faculty Member + Librarian clickAndWait - link=Faculty, Jane + link=Librarian, Lily assertTitle - Faculty, Jane + Librarian, Lily @@ -142,17 +142,17 @@ select typeSelector - label=Extension Unit + label=Association type relatedIndLabel - Cornell Cooperative Extension + American Library Association (ALA) type newIndLabel - Extension Agent + Member at Large type @@ -171,7 +171,7 @@ assertTitle - Faculty, Jane + Librarian, Lily @@ -181,32 +181,32 @@ verifyElementPresent - link=Cornell Cooperative Extension + link=American Library Association (ALA) verifyTextPresent - Extension Agent 1999 - 2009 + Member at Large 1999 - 2009 clickAndWait - link=Cornell Cooperative Extension + link=American Library Association (ALA) assertTitle - Cornell Cooperative Extension + American Library Association (ALA) verifyElementPresent - link=Faculty, Jane + link=Librarian, Lily verifyTextPresent - Extension Agent 1999 - 2009 + Member at Large 1999 - 2009 @@ -216,12 +216,22 @@ clickAndWait - link=Faculty, Jane + link=Librarian, Lily assertTitle - Faculty, Jane + Librarian, Lily + + + + clickAndWait + link=American Library Association (ALA) + + + + assertTitle + American Library Association (ALA) @@ -241,22 +251,22 @@ verifyTextPresent - Faculty, Jane + American Library Association (ALA) - verifyTextPresent - member of + verifyElementPresent + link=related role - verifyTextPresent - Extension Agent + verifyElementPresent + link=Member at Large comment - Select to delete the role in the backend + Delete relation between role node and non-person thing @@ -266,7 +276,7 @@ assertConfirmation - Are you sure you want to delete the property
Extension Agent member of? + Are you sure you want to delete the property
Member at Large related role? @@ -279,6 +289,16 @@ 10000 + + clickAndWait + link=Index + + + + assertTitle + Index to VIVO Contents + + comment Verify role is gone @@ -286,22 +306,22 @@ verifyTextPresent - Faculty, Jane + American Library Association (ALA) - verifyTextNotPresent - member of + verifyElementNotPresent + link=related role - verifyTextNotPresent - Extension Agent + verifyElementNotPresent + link=Member at Large comment - Go back to Jane Faculty in front end + Go back to Lily Librarian in front end @@ -316,27 +336,167 @@ clickAndWait - link=Faculty Member + link=Librarian assertTitle - Faculty Member + Librarian clickAndWait - link=Faculty, Jane + link=Librarian, Lily assertTitle - Faculty, Jane + Librarian, Lily comment - Edit Jane Faculty's membership role in the front end + Verify condition of MEMBER OF + + + + verifyTextPresent + unknown Member at Large (unidentified activity - please edit) + + + + comment + Edit MEMBER OF to add data back + + + + clickAndWait + //div[@id='hasMemberRole']/ul/li/span/span/a[1] + + + + assertTitle + Edit + + + + verifyTextPresent + Edit membership entry for Librarian, Lily + + + + verifyTextPresent + Membership Type + + + + verifyTextPresent + Activity Name + + + + verifyTextPresent + Role in Activity + + + + verifyTextPresent + Years of Participation in Activity + + + + verifyTextPresent + Start Year + + + + verifyTextPresent + End Year + + + + comment + Don't select anything--just press enter button + + + + clickAndWait + submit + + + + assertTitle + Edit + + + + verifyTextPresent + This field must not be empty. + + + + comment + Have to re-select Association + + + + select + typeSelector + label=Association + + + clickAndWait + submit + + + + assertTitle + Edit + + + + comment + Forgot to enter name of organization so error occurred + + + + verifyTextPresent + This field must not be empty. + + + + comment + Now enter the missing information + + + + type + relatedIndLabel + American Library Association (ALA) + + + click + ui-active-menuitem + + + + clickAndWait + submit + + + + assertTitle + Librarian, Lily + + + + verifyElementPresent + link=American Library Association (ALA) + + + + verifyTextPresent + Member at Large 1999 - 2009