Package org.xwiki.test.ui.po
Class InformationPane
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.InformationPane
-
public class InformationPane extends BaseElement
PO for Page Information pane.- Since:
- 11.10
- Version:
- $Id: a59219a36bb5e8667dbdddd6b1c4f4463b0ac3d7 $
-
-
Constructor Summary
Constructors Constructor Description InformationPane()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickTranslationLink(String label)
Clicks on the translation link with the specified label (locale pretty name).void
clickTranslationLink(Locale locale)
Clicks on the translation link that corresponds to the given locale.DocumentSyntaxPropertyPane
editSyntax()
List<String>
getAvailableTranslations()
String
getLocale()
List<String>
getMissingTranslations()
String
getOriginalLocale()
String
getSyntax()
boolean
isOpened()
boolean
isOriginalLocale()
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
isOpened
public boolean isOpened()
-
getLocale
public String getLocale()
- Returns:
- the locale of the current page as shown on the Information tab
- Since:
- 12.10.6, 13.2RC1
-
isOriginalLocale
public boolean isOriginalLocale()
- Returns:
true
if the Information tab says that the original locale of the current page is currently being viewed,false
otherwise- Since:
- 12.10.6, 13.2RC1
-
getOriginalLocale
public String getOriginalLocale()
- Returns:
- the original locale of the current page as shown on the Information tab
- Since:
- 12.10.6, 13.2RC1
-
getAvailableTranslations
public List<String> getAvailableTranslations()
- Returns:
- the list of supported locales the current page is translated into, as shown by the Information tab
- Since:
- 12.10.6, 13.2RC1
-
getMissingTranslations
public List<String> getMissingTranslations()
- Returns:
- the list of supported locales for which the current page doesn't have a translation yet
- Since:
- 12.10.6, 13.2RC1
-
clickTranslationLink
public void clickTranslationLink(Locale locale)
Clicks on the translation link that corresponds to the given locale.- Parameters:
locale
- the locale to click on- Since:
- 12.10.6, 13.2RC1
-
clickTranslationLink
public void clickTranslationLink(String label)
Clicks on the translation link with the specified label (locale pretty name).- Parameters:
label
- the locale pretty name- Since:
- 12.10.6, 13.2RC1
-
getSyntax
public String getSyntax()
-
editSyntax
public DocumentSyntaxPropertyPane editSyntax()
-
-