|
|||||||||
| 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.LiveTableElement
org.xwiki.appwithinminutes.test.po.ApplicationsLiveTableElement
public class ApplicationsLiveTableElement
Represents the live table that lists the existing applications on the AppWithinMinuts home page.
| Constructor Summary | |
|---|---|
ApplicationsLiveTableElement()
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
canDeleteApplication(String appName)
|
boolean |
canEditApplication(String appName)
|
protected void |
clickAction(String appName,
String action)
Clicks one of the action links corresponding to the specified application. |
ConfirmationPage |
clickDeleteApplication(String appName)
Clicks on the link to delete the specified application. |
ApplicationClassEditPage |
clickEditApplication(String appName)
Clicks on the link to edit the specified application. |
void |
filterApplicationName(String appNameFilter)
Filters by application name. |
String |
getApplicationNameFilter()
|
protected boolean |
hasAction(String appName,
String action)
|
boolean |
isApplicationListed(String appName)
|
| Methods inherited from class org.xwiki.test.ui.po.LiveTableElement |
|---|
filterColumn, getColumnIndex, getFilterValue, getRowCount, hasColumn, hasRow, isReady, waitUntilReady, waitUntilRowCountGreaterThan |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationsLiveTableElement()
| Method Detail |
|---|
public boolean isApplicationListed(String appName)
appName - the name of an application
true if the specified application is listed, false otherwisepublic ConfirmationPage clickDeleteApplication(String appName)
appName - the name of the application to deletepublic boolean canDeleteApplication(String appName)
appName - the name of an application
true if the delete link is displayed for the specified applicationpublic ApplicationClassEditPage clickEditApplication(String appName)
appName - the name of the application to delete.public boolean canEditApplication(String appName)
appName - the name of an application
true if the edit link is displayed for the specified application
protected void clickAction(String appName,
String action)
appName - the action targetaction - the action name
protected boolean hasAction(String appName,
String action)
true if the given action is listed for the specified application, false otherwisepublic void filterApplicationName(String appNameFilter)
appNameFilter - the string to filter the application names withpublic String getApplicationNameFilter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||