diff --git a/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html b/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html
index 4720d93c..bb55b8b7 100644
--- a/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html
+++ b/utilities/acceptance-tests/suites/CreatePeople/ChangeFacultyImage.html
@@ -124,6 +124,11 @@
Jane Faculty |
|
+
+ verifyElementPresent |
+ //img[@title='click to view larger image'] |
+ |
+
comment |
@@ -205,33 +210,103 @@
|
- comment |
-
+ verifyElementPresent |
+ //img[@title='click to view larger image'] |
|
- type |
- file1 |
- C:\vivo-code\vivo\utilities\acceptance-tests\suites\CreatePeople\Jane2.jpg |
+ comment |
+
+ |
+
+
+ click |
+ //div[@id='content']/div[1]/h3 |
+ |
clickAndWait |
- submitMode |
+ link=edit this individual |
|
assertTitle |
- Upload Image |
+ Individual Control Panel |
|
verifyTextPresent |
- Results from processing input file: updated individual Jane Faculty Link to check uploaded image: <Jane2.html> |
+ Jane Faculty |
+ |
+
+
+ comment |
+
|
clickAndWait |
- link=Jane Faculty |
+ //input[@value='Upload Image'] |
+ |
+
+
+ assertTitle |
+ Replace image for Jane Faculty |
+ |
+
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyElementPresent |
+ //div[@id='photoUploadDefaultImageContainer']/img |
+ |
+
+
+ type |
+ datafile |
+ C:\vivo-code\vivo\utilities\acceptance-tests\suites\CreatePeople\Jane2.jpg |
+
+
+ clickAndWait |
+ //input[@value='Upload photo'] |
+ |
+
+
+ assertTitle |
+ Crop Photo for Jane Faculty |
+ |
+
+
+ verifyTextPresent |
+ Photo Upload |
+ |
+
+
+ verifyTextPresent |
+ Current Photo |
+ |
+
+
+ verifyTextPresent |
+ 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. |
+ |
+
+
+ clickAndWait |
+ //input[@value='Save photo'] |
|
@@ -246,8 +321,8 @@
verifyAttribute |
- //img[@title='Jane Faculty']@src |
- /vivo/images/people/Jane2.jpg |
+ //img[@title='click to view larger image']@src |
+ /vivo/file/n5348/thumbnail_Jane2.jpg |
comment |