|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Navigator
Provides helper methods for navigating around JIRA.
Method Summary | |
---|---|
void |
browseProject(String projectKey)
Goes to the browse page for the project with the given key. |
BulkChangeWizard |
bulkChange(IssueNavigatorNavigation.BulkChangeOption bulkChangeOption)
Initiate the bulk change wizard on the current search results. |
Navigator |
click(String id)
|
Navigator |
clickAndWaitForPageLoad(String id)
Click and wait for the page to load |
Navigator |
collapseContentSection(String sectionId)
Collapses a particular expanded content session in the content pane of the issuenavigator |
String |
createIssue(String projectName,
String issueType,
String summary)
Creates an issue in the database |
Dashboard |
currentDashboard()
Goes to the dashboard action which will navigate to the most recent dashboard in the session. |
Dashboard |
dashboard(String id)
Returns dashboard navigation and utilities for the dashboard with the given id. |
void |
disableWebSudo()
|
Navigator |
editIssue(String issueKey)
|
Navigator |
expandAllNavigatorSections()
Expands all collapsed navigator sections in the left hand column of the issuenavigator |
Navigator |
expandContentSection(String sectionId)
Expands a particular collapsed content session in the content pane of the issuenavigator |
Navigator |
findAllIssues()
Finds all issues using simple navigation. |
Navigator |
findIssuesWithJql(String jql)
|
Navigator |
gotoAdmin()
|
Navigator |
gotoBrowseProject(String projectName)
|
Navigator |
gotoCreateIssueScreen(String project,
String issueType)
Goes to the first page for creating an issue but doesn't actually create an issue. |
Navigator |
gotoFindIssues()
|
Navigator |
gotoFindIssuesAdvanced()
Goes to the JQL view of the issue navigator. |
Navigator |
gotoFindIssuesSimple()
Goes to the issue navigator and ensures the simple search mode. |
Navigator |
gotoHome()
|
Navigator |
gotoIssue(String issueKey)
|
Navigator |
gotoManageFilters()
Navigates to the Manage Filters page. |
Navigator |
gotoPage(String relativeUrl,
boolean waitForPageLoad)
Navigates to the page specified by the relative URL. |
Navigator |
gotoUserProfile()
|
Navigator |
gotoUserProfile(String user)
|
Navigator |
gotoUserProfileTab(String tab)
|
Navigator |
gotoUserProfileTab(String tab,
String user)
|
IssueNavigation |
issue()
Returns a handle on issue navigation utilities. |
IssueNavigatorNavigation |
issueNavigator()
Returns an object that can be used to control the issue navigator. |
Navigator |
login(String username)
Login using the user name and password as the same value |
Navigator |
login(String username,
String password)
|
Navigator |
login(User user,
String destination)
Login and redirect to a specified destination. |
Navigator |
loginAsSystemAdmin(String destination)
Login as the system administrator and redirect to a specified destination. |
Navigator |
logout(String xsrfToken)
|
Navigator |
openHistoryTab()
Go to the 'History' tab on the view issue screen. |
void |
webSudoAuthenticate(String password)
Checks if we have been redirected to the websudo login form and logs in. |
void |
webSudoAuthenticateUsingLastPassword()
|
Method Detail |
---|
Navigator login(String username)
username
- the username and password to use
Navigator login(String username, String password)
Navigator login(User user, String destination)
user
- User to extract username and password fromdestination
- destination to set as os_destination in the login URL
Navigator loginAsSystemAdmin(String destination)
destination
- URL chunk to set as os_destination in the login URL
Navigator logout(String xsrfToken)
Navigator gotoPage(String relativeUrl, boolean waitForPageLoad)
relativeUrl
- relative URL - not starting with '/'
Navigator gotoHome()
Navigator gotoManageFilters()
Navigator gotoFindIssues()
Navigator gotoFindIssuesSimple()
Navigator gotoFindIssuesAdvanced()
Navigator gotoAdmin()
void webSudoAuthenticate(String password)
password
- void webSudoAuthenticateUsingLastPassword()
void disableWebSudo()
Navigator gotoUserProfile()
Navigator gotoUserProfile(String user)
user
-
Navigator gotoUserProfileTab(String tab)
tab
-
Navigator gotoUserProfileTab(String tab, String user)
tab
- user
-
Navigator gotoIssue(String issueKey)
issueKey
-
Navigator openHistoryTab()
Navigator editIssue(String issueKey)
issueKey
-
Navigator findAllIssues()
findIssuesWithJql(String)
for JQL searching
NOTE: This will reset the issue navigator navType to simple if it is currently JQL
Navigator findIssuesWithJql(String jql)
jql
-
Navigator gotoBrowseProject(String projectName)
projectName
-
Navigator clickAndWaitForPageLoad(String id)
id
- element id
Navigator click(String id)
id
-
String createIssue(String projectName, String issueType, String summary)
projectName
- - the name of the project - can be nulllissueType
- the type of issue - can be nulllsummary
- the summary of the issue
void browseProject(String projectKey)
projectKey
- the project's key.Dashboard dashboard(String id)
id
- the id of the dashboard
Dashboard currentDashboard()
Navigator expandAllNavigatorSections()
Navigator collapseContentSection(String sectionId)
sectionId
- the id of the section to collapse
Navigator expandContentSection(String sectionId)
sectionId
- the id of the section to expand
BulkChangeWizard bulkChange(IssueNavigatorNavigation.BulkChangeOption bulkChangeOption)
bulkChangeOption
- whether to bulk change all results or just the current page.
IssueNavigation issue()
IssueNavigatorNavigation issueNavigator()
Navigator gotoCreateIssueScreen(String project, String issueType)
project
- The name of the project to create the issue inissueType
- The type of issue to create
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |