From ad2d822edbb9e9806ddb1369d53ac2db4b1e3d0d Mon Sep 17 00:00:00 2001 From: ejc12 Date: Tue, 20 Jul 2010 17:10:45 +0000 Subject: [PATCH] Holly added test case to test image processing for non-person. --- .../CreatePeople/VerifyImageDisplay.html | 205 ++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 utilities/acceptance-tests/suites/CreatePeople/VerifyImageDisplay.html 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VerifyImageDisplay
commentCheck image views without logging in
open/vivo/
assertTitleVIVO
commentNavigate to Lily Librarian
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Librarian
assertTitleLibrarian
clickAndWaitlink=Lily Librarian
assertTitleLily Librarian
commentVerify dummy image displays
verifyElementPresent//img[@title='no image']
commentNavigate to a non-person
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Country
assertTitleCountry
clickAndWaitlink=Afghanistan
assertTitleAfghanistan
commentVerify no image displays
verifyElementNotPresent//img[@title='no image']
commentNavigate to Jane Faculty
clickAndWaitlink=Index
assertTitleIndex to VIVO Contents
clickAndWaitlink=Faculty Member
assertTitleFaculty Member
clickAndWaitlink=Jane Faculty
assertTitleJane Faculty
commentVerify thumbnail displays
verifyElementPresent//img[@title='click to view larger image']
verifyAttribute//img[@title='click to view larger image']@src/vivo/file/*/thumbnail_Jane2.jpg
commentAll done
clickAndWaitlink=VIVO
assertTitleVIVO
+ +