diff --git a/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html b/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html
index bb55b8b7..a7483798 100644
--- a/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html
+++ b/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html
@@ -125,9 +125,9 @@
|
- verifyElementPresent |
- //img[@title='click to view larger image'] |
- |
+ verifyAttribute |
+ //img[@title='click to view larger image']@src |
+ /vivo/file/*/thumbnail_Jane1.jpg |
comment |
@@ -156,7 +156,7 @@
comment |
-
+
|
@@ -204,31 +204,6 @@
link=Cancel |
|
-
- assertTitle |
- Jane Faculty |
- |
-
-
- verifyElementPresent |
- //img[@title='click to view larger image'] |
- |
-
-
- comment |
-
- |
-
-
- click |
- //div[@id='content']/div[1]/h3 |
- |
-
-
- clickAndWait |
- link=edit this individual |
- |
-
assertTitle |
Individual Control Panel |
@@ -296,12 +271,12 @@
verifyTextPresent |
- Your profile photo will look like the image below. |
+ Your profile photo will look like the image below. |
|
verifyTextPresent |
- To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
+ To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
|
@@ -311,7 +286,7 @@
assertTitle |
- Jane Faculty |
+ Individual Control Panel |
|
@@ -319,10 +294,40 @@
|
+
+ clickAndWait |
+ link=Index |
+ |
+
+
+ assertTitle |
+ Index to VIVO Contents |
+ |
+
+
+ clickAndWait |
+ link=Faculty Member |
+ |
+
+
+ assertTitle |
+ Faculty Member |
+ |
+
+
+ clickAndWait |
+ link=Jane Faculty |
+ |
+
+
+ assertTitle |
+ Jane Faculty |
+ |
+
verifyAttribute |
//img[@title='click to view larger image']@src |
- /vivo/file/n5348/thumbnail_Jane2.jpg |
+ /vivo/file/*/thumbnail_Jane2.jpg |
comment |
diff --git a/utilities/acceptance-tests/suites/CreatePeople/UploadFacultyImage.html b/utilities/acceptance-tests/suites/CreatePeople/UploadFacultyImage.html
index 23b9f6ef..fc5fdeac 100644
--- a/utilities/acceptance-tests/suites/CreatePeople/UploadFacultyImage.html
+++ b/utilities/acceptance-tests/suites/CreatePeople/UploadFacultyImage.html
@@ -186,7 +186,12 @@
verifyTextPresent |
- Current Photo |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
|
@@ -201,12 +206,7 @@
assertTitle |
- Jane Faculty |
- |
-
-
- verifyElementPresent |
- //img[@title='no image'] |
+ Individual Control Panel |
|
@@ -214,16 +214,6 @@
|
-
- clickAndWait |
- link=edit this individual |
- |
-
-
- assertTitle |
- Individual Control Panel |
- |
-
clickAndWait |
//input[@value='Upload Image'] |
@@ -234,6 +224,21 @@
Upload image for Jane Faculty |
|
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
type |
datafile |
@@ -246,12 +251,7 @@
assertTitle |
- Jane Faculty |
- |
-
-
- verifyElementPresent |
- //img[@title='no image'] |
+ Individual Control Panel |
|
@@ -259,16 +259,6 @@
|
-
- clickAndWait |
- link=edit this individual |
- |
-
-
- assertTitle |
- Individual Control Panel |
- |
-
clickAndWait |
//input[@value='Upload Image'] |
@@ -279,6 +269,21 @@
Upload image for Jane Faculty |
|
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
type |
datafile |
@@ -299,6 +304,41 @@
link=Cancel |
|
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ comment |
+
+ |
+
+
+ clickAndWait |
+ link=Index |
+ |
+
+
+ assertTitle |
+ Index to VIVO Contents |
+ |
+
+
+ clickAndWait |
+ link=Faculty Member |
+ |
+
+
+ assertTitle |
+ Faculty Member |
+ |
+
+
+ clickAndWait |
+ link=Jane Faculty |
+ |
+
assertTitle |
Jane Faculty |
@@ -309,6 +349,11 @@
//img[@title='no image'] |
|
+
+ verifyElementNotPresent |
+ //img[@title='click to view larger image'] |
+ |
+
comment |
@@ -334,6 +379,21 @@
Upload image for Jane Faculty |
|
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
type |
datafile |
@@ -356,12 +416,12 @@
verifyTextPresent |
- Your profile photo will look like the image below. |
+ Your profile photo will look like the image below. |
|
verifyTextPresent |
- To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
+ To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
|
@@ -369,15 +429,50 @@
//input[@value='Save photo'] |
|
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ comment |
+
+ |
+
+
+ clickAndWait |
+ link=Index |
+ |
+
+
+ assertTitle |
+ Index to VIVO Contents |
+ |
+
+
+ clickAndWait |
+ link=Faculty Member |
+ |
+
+
+ assertTitle |
+ Faculty Member |
+ |
+
+
+ clickAndWait |
+ link=Jane Faculty |
+ |
+
assertTitle |
Jane Faculty |
|
- verifyElementPresent |
- //img[@title='click to view larger image'] |
- |
+ verifyAttribute |
+ //img[@title='click to view larger image']@src |
+ /vivo/file/*/thumbnail_Jane1.jpg |
comment |
diff --git a/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html b/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html
index 23b9f6ef..fc5fdeac 100644
--- a/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html
+++ b/utilities/acceptance-tests/suites/CreatePeople/UploadLibrarianImage.html
@@ -186,7 +186,12 @@
verifyTextPresent |
- Current Photo |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
|
@@ -201,12 +206,7 @@
assertTitle |
- Jane Faculty |
- |
-
-
- verifyElementPresent |
- //img[@title='no image'] |
+ Individual Control Panel |
|
@@ -214,16 +214,6 @@
|
-
- clickAndWait |
- link=edit this individual |
- |
-
-
- assertTitle |
- Individual Control Panel |
- |
-
clickAndWait |
//input[@value='Upload Image'] |
@@ -234,6 +224,21 @@
Upload image for Jane Faculty |
|
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
type |
datafile |
@@ -246,12 +251,7 @@
assertTitle |
- Jane Faculty |
- |
-
-
- verifyElementPresent |
- //img[@title='no image'] |
+ Individual Control Panel |
|
@@ -259,16 +259,6 @@
|
-
- clickAndWait |
- link=edit this individual |
- |
-
-
- assertTitle |
- Individual Control Panel |
- |
-
clickAndWait |
//input[@value='Upload Image'] |
@@ -279,6 +269,21 @@
Upload image for Jane Faculty |
|
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
type |
datafile |
@@ -299,6 +304,41 @@
link=Cancel |
|
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ comment |
+
+ |
+
+
+ clickAndWait |
+ link=Index |
+ |
+
+
+ assertTitle |
+ Index to VIVO Contents |
+ |
+
+
+ clickAndWait |
+ link=Faculty Member |
+ |
+
+
+ assertTitle |
+ Faculty Member |
+ |
+
+
+ clickAndWait |
+ link=Jane Faculty |
+ |
+
assertTitle |
Jane Faculty |
@@ -309,6 +349,11 @@
//img[@title='no image'] |
|
+
+ verifyElementNotPresent |
+ //img[@title='click to view larger image'] |
+ |
+
comment |
@@ -334,6 +379,21 @@
Upload image for Jane Faculty |
|
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
type |
datafile |
@@ -356,12 +416,12 @@
verifyTextPresent |
- Your profile photo will look like the image below. |
+ Your profile photo will look like the image below. |
|
verifyTextPresent |
- To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
+ To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
|
@@ -369,15 +429,50 @@
//input[@value='Save photo'] |
|
+
+ assertTitle |
+ Individual Control Panel |
+ |
+
+
+ comment |
+
+ |
+
+
+ clickAndWait |
+ link=Index |
+ |
+
+
+ assertTitle |
+ Index to VIVO Contents |
+ |
+
+
+ clickAndWait |
+ link=Faculty Member |
+ |
+
+
+ assertTitle |
+ Faculty Member |
+ |
+
+
+ clickAndWait |
+ link=Jane Faculty |
+ |
+
assertTitle |
Jane Faculty |
|
- verifyElementPresent |
- //img[@title='click to view larger image'] |
- |
+ verifyAttribute |
+ //img[@title='click to view larger image']@src |
+ /vivo/file/*/thumbnail_Jane1.jpg |
comment |