AddFolderImageTest
open /web/guest/home/
waitForElementPresent link=Image Gallery Test Page
clickAtAndWait link=Image Gallery Test Page
clickAtAndWait //a/strong
clickAtAndWait //div[2]/ul/li[4]/a
waitForVisible link=Use the classic uploader.
click link=Use the classic uploader.
waitForVisible _31_file
type _31_file L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\imagegallery\image\viewfolderimagerecentimages\dependencies\test_image.jpg
type _31_name Test1 Image1
type _31_description This is Test1 Image1.
clickAtAndWait //input[@value='Save']
waitForTextPresent Your request processed successfully.
assertTextPresent Your request processed successfully.
waitForElementPresent //img[@alt='Test1 Image1 - This is Test1 Image1.']
assertElementPresent //img[@alt='Test1 Image1 - This is Test1 Image1.']
waitForText //span[@class='image-title'] Test1 Image1
assertText //span[@class='image-title'] Test1 Image1