|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.selenium.framework.components.IssueNavResults
public final class IssueNavResults
Represents issue navigator results in the Selenium World™
Nested Class Summary | |
---|---|
static class |
IssueNavResults.IssueNavAction
|
class |
IssueNavResults.SelectedIssue
Represents action over a single issue executable from the issue navigator UI. |
Field Summary | |
---|---|
static String |
LOCATOR
|
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject |
---|
assertThat, client, context |
Constructor Summary | |
---|---|
IssueNavResults(SeleniumContext ctx)
|
Method Summary | |
---|---|
void |
assertAnyIssueSelected()
Assert that any issue row is currently selected. |
void |
assertHasIssue(long issueId)
Assert that issue identified by issueId is contained in this results page. |
void |
assertHasIssue(String issueKey)
Assert that issue identified by issueKey is contained in this results page. |
void |
assertIssueSelectedAt(int position)
|
void |
assertIssueSelectedWith(long issueId)
Assert that any issue with given issueId is currently selected. |
void |
assertIssueSelectedWith(String issueKey)
Assert that any issue with given issueKey is currently selected. |
String |
currentSelectedIssueRowLocator()
|
IssueNavResults |
down()
|
IssueNavResults |
down(int times)
Press down arrow a certain number of times. |
String |
inResults(String jQueryLocator)
|
String |
inSelectedRow(String jQueryLocator)
|
boolean |
isAnyIssueSelected()
|
boolean |
isIssueSelectedAt(int position)
|
boolean |
isIssueSelectedWith(long issueId)
|
boolean |
isIssueSelectedWith(String issueKey)
|
long |
issueIdFor(int position)
|
String |
issueRowLocatorById(long issueId)
|
String |
issueRowLocatorByKey(String issueKey)
|
String |
issueRowLocatorByPosition(int position)
Locator for issue at given position in the issue nav results table (1-based) |
IssueNavResults.SelectedIssue |
selectedIssue()
|
long |
selectedIssueId()
|
String |
selectedIssueKey()
|
String |
selectedIssueRowLocator(long issueId)
|
String |
selectedIssueRowLocator(String issueKey)
|
IssueNavResults |
selectFirstIssue()
|
IssueNavResults |
selectIssue(String issueKey)
|
IssueNavResults |
up()
|
IssueNavResults |
up(int times)
Press up arrow a certain number of times. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LOCATOR
Constructor Detail |
---|
public IssueNavResults(SeleniumContext ctx)
Method Detail |
---|
public String inResults(String jQueryLocator)
public String inSelectedRow(String jQueryLocator)
public String currentSelectedIssueRowLocator()
public String selectedIssueRowLocator(String issueKey)
public String selectedIssueRowLocator(long issueId)
public String issueRowLocatorByKey(String issueKey)
public String issueRowLocatorById(long issueId)
public String issueRowLocatorByPosition(int position)
position
- 1-based issue position ordinal
public IssueNavResults up()
public IssueNavResults down()
public IssueNavResults up(int times)
public IssueNavResults down(int times)
public IssueNavResults selectFirstIssue()
public IssueNavResults selectIssue(String issueKey)
public IssueNavResults.SelectedIssue selectedIssue()
public String selectedIssueKey()
public long selectedIssueId()
public long issueIdFor(int position)
public boolean isAnyIssueSelected()
public boolean isIssueSelectedWith(String issueKey)
public boolean isIssueSelectedWith(long issueId)
public boolean isIssueSelectedAt(int position)
public void assertAnyIssueSelected()
public void assertIssueSelectedWith(String issueKey)
issueKey
- key of the issue to checkpublic void assertIssueSelectedWith(long issueId)
issueId
- ID of the issue to checkpublic void assertIssueSelectedAt(int position)
public void assertHasIssue(String issueKey)
issueKey
- key of the issue to checkpublic void assertHasIssue(long issueId)
issueId
- ID of the issue to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |