|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.HistoryPane
public class HistoryPane
Represents the actions possible on the History Pane at the bottom of a page.
| Constructor Summary | |
|---|---|
HistoryPane()
|
|
| Method Summary | |
|---|---|
ComparePage |
compare(String fromVersion,
String toVersion)
Selects the specified document versions and clicks the button to compare them. |
HistoryPane |
deleteVersion(String version)
|
String |
getCurrentAuthor()
|
String |
getCurrentVersion()
|
String |
getCurrentVersionComment()
|
boolean |
hasVersionWithSummary(String summary)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HistoryPane()
| Method Detail |
|---|
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 ComparePage compare(String fromVersion,
String toVersion)
fromVersion - the from versiontoVersion - the to version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||