Package org.xwiki.test.ui.po.diff
Class RawChanges
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.diff.RawChanges
-
public class RawChanges extends BaseElement
Represents the raw changes display (in a tab in the compare documents view or in the conflict view).- Since:
- 14.10.15, 15.5.1, 15.6
- Version:
- $Id: 812633831eee75f9d6abc00fefbf663d7fcfadc8 $
-
-
Constructor Summary
Constructors Constructor Description RawChanges(org.openqa.selenium.WebElement container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getChangedEntities()
DocumentDiffSummary
getDiffSummary()
EntityDiff
getEntityDiff(String label)
boolean
hasNoChanges()
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
hasNoChanges
public boolean hasNoChanges()
- Returns:
true
if the "No changes" message is displayed and there are no diffs displayed,false
otherwise
-
getDiffSummary
public DocumentDiffSummary getDiffSummary()
- Returns:
- the summary for the displayed changes
-
getChangedEntities
public List<String> getChangedEntities()
- Returns:
- the names (labels) for the entities that have been modified (have modified properties)
-
getEntityDiff
public EntityDiff getEntityDiff(String label)
- Parameters:
label
- the entity label- Returns:
- the changes for the specified entity
-
-