diff --git a/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html b/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html new file mode 100644 index 00000000..22eaa5a8 --- /dev/null +++ b/utilities/acceptance-tests/suites/AddPublications/DeleteValidationStuff.html @@ -0,0 +1,325 @@ + + + +
+ + +DeleteArticle | ||
deleteAllVisibleCookies | ++ | + |
comment | +Delete CNN article to cleanup database (backend--old way) | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Must not be logged in already | ++ |
clickAndWait | +link=Log in | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Must log in as site admin | ++ |
type | +loginName | +testAdmin | +
type | +loginPassword | +Password | +
clickAndWait | +loginForm | ++ |
assertTitle | +VIVO Site Administration | ++ |
comment | +Navigate to the Index to find the Article link | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Article | ++ |
assertTitle | +Article | ++ |
comment | +Select the article to delete | ++ |
clickAndWait | +link=Effect of Nintendo on Kids | ++ |
assertTitle | +Effect of Nintendo on Kids | ++ |
clickAndWait | +link=edit this individual | ++ |
assertTitle | +Individual Control Panel | ++ |
clickAndWait | +//input[@value='Edit This Individual'] | ++ |
assertTitle | +Individual Editing Form | ++ |
comment | +Delete the article | ++ |
clickAndWait | +_delete | ++ |
assertConfirmation | +Are you SURE you want to delete this entity? If in doubt, CANCEL. | ++ |
waitForPageToLoad | +5000 | ++ |
assertTitle | +VIVO Site Administration | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
pause | +100000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
refreshAndWait | +20000 | ++ |
comment | +Verify that there are no articles listed | ++ |
verifyTextNotPresent | +Article | ++ |
verifyTextNotPresent | +Academic Article | ++ |
comment | +Logout | ++ |
clickAndWait | +link=Log out | ++ |
assertTitle | +VIVO | ++ |