public class CrowdRestorePage extends AbstractCrowdPage
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
errorBox |
protected com.atlassian.pageobjects.elements.PageElement |
filePathTextBox |
protected com.atlassian.pageobjects.elements.PageElement |
submitButton |
protected com.atlassian.pageobjects.elements.PageElement |
title |
auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, forgedLicenseWarningBanner, I18N, NEXT_BUTTON_SELECTOR, pageBinder, systemAdminMenu, TABLE_ROWS_SELECTOR, VALUE_DATA_ATTRIBUTE
Constructor and Description |
---|
CrowdRestorePage() |
Modifier and Type | Method and Description |
---|---|
String |
getUrl() |
protected boolean |
isContentLoaded()
Returns whether the content has loaded.
|
CrowdRestorePage |
restoreExpectingFailure(String filename)
Restores state from Crowd backup file, expecting a failure.
|
CrowdLoginPage |
restoreExpectingSuccess(String filename)
Restores state from Crowd backup file.
|
bindAndWaitUntilPageLoad, getAuiMessages, getForgedLicenseWarningBanner, getHeader, isSystemAdminMenuPresent, reloadWithoutWaitingForContent, setTextField, setTextFieldValueAndPressEnter, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
protected com.atlassian.pageobjects.elements.PageElement filePathTextBox
protected com.atlassian.pageobjects.elements.PageElement submitButton
protected com.atlassian.pageobjects.elements.PageElement title
protected com.atlassian.pageobjects.elements.PageElement errorBox
protected boolean isContentLoaded()
AbstractCrowdPage
AbstractCrowdPage.waitUntilContentLoaded()
. Subclasses should override
this method to wait for a distinguishing content to appear. E.g. a page title.isContentLoaded
in class AbstractCrowdPage
public String getUrl()
public CrowdLoginPage restoreExpectingSuccess(String filename)
filename
- the backup filename. It is a full path, including directory names.public CrowdRestorePage restoreExpectingFailure(String filename)
filename
- the backup filename. It is a full path, including directory names.Copyright © 2021 Atlassian. All rights reserved.