| Portlet_AssertCannotEditImageTest | ||
| waitForElementPresent | link=Image Gallery Permissions Test Page | |
| clickAtAndWait | link=Image Gallery Permissions Test Page | |
| clickAtAndWait | link=Portlet2 Temporary2 Folder2 | |
| waitForElementPresent | //li[4]/span/a | |
| clickAt | //img[@alt='Portlet2 Temporary2 Image2. '] | |
| waitForElementPresent | link=Close | |
| assertElementNotPresent | link=Edit | |
| clickAt | link=Close | |
| waitForElementPresent | //img[@alt='Portlet2 Temporary2 Image2. '] | |