diff --git a/utilities/acceptance-tests/suites/CreatePeople/VerifyImageDisplay.html b/utilities/acceptance-tests/suites/CreatePeople/VerifyImageDisplay.html new file mode 100644 index 00000000..d5e19454 --- /dev/null +++ b/utilities/acceptance-tests/suites/CreatePeople/VerifyImageDisplay.html @@ -0,0 +1,205 @@ + + + +
+ + +VerifyImageDisplay | ||
comment | +Check image views without logging in | ++ |
open | +/vivo/ | ++ |
assertTitle | +VIVO | ++ |
comment | +Navigate to Lily Librarian | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Librarian | ++ |
assertTitle | +Librarian | ++ |
clickAndWait | +link=Lily Librarian | ++ |
assertTitle | +Lily Librarian | ++ |
comment | +Verify dummy image displays | ++ |
verifyElementPresent | +//img[@title='no image'] | ++ |
comment | +Navigate to a non-person | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Country | ++ |
assertTitle | +Country | ++ |
clickAndWait | +link=Afghanistan | ++ |
assertTitle | +Afghanistan | ++ |
comment | +Verify no image displays | ++ |
verifyElementNotPresent | +//img[@title='no image'] | ++ |
comment | +Navigate to Jane Faculty | ++ |
clickAndWait | +link=Index | ++ |
assertTitle | +Index to VIVO Contents | ++ |
clickAndWait | +link=Faculty Member | ++ |
assertTitle | +Faculty Member | ++ |
clickAndWait | +link=Jane Faculty | ++ |
assertTitle | +Jane Faculty | ++ |
comment | +Verify thumbnail displays | ++ |
verifyElementPresent | +//img[@title='click to view larger image'] | ++ |
verifyAttribute | +//img[@title='click to view larger image']@src | +/vivo/file/*/thumbnail_Jane2.jpg | +
comment | +All done | ++ |
clickAndWait | +link=VIVO | ++ |
assertTitle | +VIVO | ++ |