public class HistoryPane extends BaseElement
Constructor and Description |
---|
HistoryPane() |
Modifier and Type | Method and Description |
---|---|
ComparePage |
compare(String fromVersion,
String toVersion)
Selects the specified document versions and clicks the button to compare them.
|
HistoryPane |
deleteRangeVersions(String fromVersion,
String toVersion) |
HistoryPane |
deleteVersion(String version) |
String |
getCurrentAuthor() |
String |
getCurrentVersion() |
String |
getCurrentVersionComment() |
boolean |
hasVersionWithSummary(String summary) |
boolean |
isOpened() |
ViewPage |
rollbackToVersion(String version)
IMPORTANT: this method isn't blocking and doesn't wait for the page to be loaded (after the confirmation popup
has been accepted).
|
HistoryPane |
showMinorEdits()
Clicks on the 'Show Minor Edits' button.
|
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public boolean isOpened()
public boolean hasVersionWithSummary(String summary)
public String getCurrentVersion()
public String getCurrentVersionComment()
public String getCurrentAuthor()
public ViewPage rollbackToVersion(String version)
public HistoryPane deleteVersion(String version)
public HistoryPane showMinorEdits()
public HistoryPane deleteRangeVersions(String fromVersion, String toVersion)
public ComparePage compare(String fromVersion, String toVersion)
fromVersion
- the from versiontoVersion
- the to versionCopyright © 2004–2021 XWiki. All rights reserved.