use of com.wikia.webdriver.elements.mercury.components.discussions.common.DeleteDialog in project selenium-tests by Wikia.
the class DeleteAllPostsByUserTests method clickDeleteAllDesktopDisplaysConfirmationDialog.
// GENERAL - no specific user permissions
@Test(groups = "discussions-deleteAllPostsByUserDesktop")
@Execute(asUser = User.STAFF)
@InBrowser(browserSize = DESKTOP_RESOLUTION)
public void clickDeleteAllDesktopDisplaysConfirmationDialog() {
DeleteDialog confirmationDialog = getDeleteAllButton(userWithPosts.getUserId()).click();
assertTrue(confirmationDialog.isVisible());
}
use of com.wikia.webdriver.elements.mercury.components.discussions.common.DeleteDialog in project selenium-tests by Wikia.
the class DeleteAllPostsByUserTests method clickDeleteAllMobileDisplaysConfirmationDialog.
@Test(groups = "discussions-deleteAllPostsByUserMobile")
@Execute(asUser = User.STAFF)
@InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
public void clickDeleteAllMobileDisplaysConfirmationDialog() {
DeleteDialog confirmationDialog = getDeleteAllButton(userWithPosts.getUserId()).click();
assertTrue(confirmationDialog.isVisible());
}
Aggregations