use of org.xwiki.user.test.po.ChangeAvatarPage in project xwiki-platform by xwiki.
the class UserProfileTest method testChangeAvatarImage.
/**
* Functionality check: changing the profile picture.
*/
@Test
@IgnoreBrowsers({ @IgnoreBrowser(value = "internet.*", version = "8\\.*", reason = "See https://jira.xwiki.org/browse/XE-1146"), @IgnoreBrowser(value = "internet.*", version = "9\\.*", reason = "See https://jira.xwiki.org/browse/XE-1177") })
public void testChangeAvatarImage() {
ChangeAvatarPage changeAvatarImage = this.customProfilePage.changeAvatarImage();
changeAvatarImage.setAvatarImage(IMAGE_NAME);
changeAvatarImage.submit();
Assert.assertEquals(IMAGE_NAME, this.customProfilePage.getAvatarImageName());
}
Aggregations