Package org.xwiki.test.ui.po
Class ChangesPane
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.ChangesPane
-
public class ChangesPane extends BaseElement
Displays the differences between two versions of a document.- Since:
- 4.2M1
- Version:
- $Id: d8f7f26dce79f660c2fcfaf7606883d685288402 $
-
-
Constructor Summary
Constructors Constructor Description ChangesPane()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickNextChange()
Click the next change buttonvoid
clickNextFromVersion()
Click the next change button of the original documentvoid
clickNextToVersion()
Click the next change button of the new documentvoid
clickPreviousChange()
Click the previous change buttonvoid
clickPreviousFromVersion()
Click the previous change button of the original documentvoid
clickPreviousToVersion()
Click the previous change button of the new documentString
getChangeComment()
String
getFromVersion()
String
getFromVersionSummary()
RawChanges
getRawChanges()
RenderedChanges
getRenderedChanges()
String
getToVersion()
String
getToVersionSummary()
boolean
hasNextChange()
boolean
hasNextFromVersion()
boolean
hasNextToVersion()
boolean
hasPreviousChange()
boolean
hasPreviousFromVersion()
boolean
hasPreviousToVersion()
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
getFromVersionSummary
public String getFromVersionSummary()
- Returns:
- the summary of the from version
-
getToVersionSummary
public String getToVersionSummary()
- Returns:
- the summary of the to version
-
getChangeComment
public String getChangeComment()
- Returns:
- the comment of the to version
-
getRawChanges
public RawChanges getRawChanges()
- Returns:
- the raw changes tab
- Since:
- 14.10.15, 15.5.1, 15.6
-
getRenderedChanges
public RenderedChanges getRenderedChanges()
- Returns:
- the rendered changes tab
- Since:
- 14.10.15, 15.5.1, 15.6
-
clickPreviousChange
public void clickPreviousChange()
Click the previous change button
-
clickNextChange
public void clickNextChange()
Click the next change button
-
clickPreviousFromVersion
public void clickPreviousFromVersion()
Click the previous change button of the original document
-
clickNextFromVersion
public void clickNextFromVersion()
Click the next change button of the original document
-
clickPreviousToVersion
public void clickPreviousToVersion()
Click the previous change button of the new document
-
clickNextToVersion
public void clickNextToVersion()
Click the next change button of the new document
-
hasPreviousChange
public boolean hasPreviousChange()
- Returns:
- the presence of the previous change button
-
hasNextChange
public boolean hasNextChange()
- Returns:
- the presence of the next change button
-
hasPreviousFromVersion
public boolean hasPreviousFromVersion()
- Returns:
- the presence of the previous change button of the original document
-
hasNextFromVersion
public boolean hasNextFromVersion()
- Returns:
- the presence of the next change button of the original document
-
hasPreviousToVersion
public boolean hasPreviousToVersion()
- Returns:
- the presence of the previous change button of the new document
-
hasNextToVersion
public boolean hasNextToVersion()
- Returns:
- the presence of the next change button of the new document
-
getFromVersion
public String getFromVersion()
- Returns:
- the original document version
-
getToVersion
public String getToVersion()
- Returns:
- the new document version
-
-