|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.AbstractNavigationUtil
com.atlassian.jira.functest.framework.navigation.ManageFiltersNavigation
public class ManageFiltersNavigation
The FilterNavigation representing the ManageFilters views, this implementation should be complete and definitive of the full functionality of the view.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
|---|
environmentData, FS, locators, logger, logIndentLevel, tester |
| Constructor Summary | |
|---|---|
ManageFiltersNavigation(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
|
|
| Method Summary | |
|---|---|
void |
addFavourite(int id)
Add filter as favourite to the current logged in user. |
void |
allFilters()
Navigate to manage all filters |
long |
createFilter(String filterName,
String filterDesc)
Creates a filter with the specified name and description |
void |
deleteFilter(int id)
Delete the specified filter. |
void |
favouriteFilters()
Navigate to favourite filters. |
void |
findFilters(String filterName,
String authorUsername)
Does a filter search from a filter search form page with the given search criteria. |
String |
getActionBaseUrl()
Return the basic URL of the action. |
void |
goToDefault()
Navigate to the default filters page for this FilterNavigation. |
void |
manageSubscriptions(int filterId)
Navigate to manage subscriptions for a given filter |
void |
myFilters()
Navigate to manage my filters |
void |
popularFilters()
Navigate to manage popular filters |
FilterNavigation |
projects()
Goes to the project tab of the filterpicker popup (only visible with showProjects param). |
void |
removeFavourite(int id)
Remove filter as favourite from the current logged in user. |
List<FilterItem> |
sanitiseFavouriteFilterItems(List<FilterItem> expectedItems)
Return a new list containing new expected items based on the given ones which are stripped of any field expectations that are not designed to be met by this FilterNavigation implementation's favourite view. |
List<FilterItem> |
sanitiseSearchFilterItems(List<FilterItem> expectedItems)
Return a new list containing new expected items based on the given ones which are stripped of any field expectations that are not designed to be met by this FilterNavigation implementation's search results view (including popular filters). |
void |
searchFilters()
Navigate to search filters |
| Methods inherited from class com.atlassian.jira.functest.framework.AbstractNavigationUtil |
|---|
getNavigation |
| Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
|---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManageFiltersNavigation(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
| Method Detail |
|---|
public void addFavourite(int id)
FilterNavigation
addFavourite in interface FilterNavigationid - The id of the filterpublic void removeFavourite(int id)
FilterNavigation
removeFavourite in interface FilterNavigationid - The id of the filterpublic void goToDefault()
FilterNavigation
goToDefault in interface FilterNavigationpublic void manageSubscriptions(int filterId)
FilterNavigation
manageSubscriptions in interface FilterNavigationfilterId - id of the filterpublic void favouriteFilters()
FilterNavigation
favouriteFilters in interface FilterNavigationpublic void myFilters()
FilterNavigation
myFilters in interface FilterNavigationpublic void allFilters()
FilterNavigation
allFilters in interface FilterNavigationpublic void popularFilters()
FilterNavigation
popularFilters in interface FilterNavigationpublic void searchFilters()
FilterNavigation
searchFilters in interface FilterNavigation
public long createFilter(String filterName,
String filterDesc)
FilterNavigation
createFilter in interface FilterNavigationfilterName - the name of the filter.filterDesc - the description of the filter.
public void deleteFilter(int id)
FilterNavigation
deleteFilter in interface FilterNavigationid - the id of the filter to delete.
public void findFilters(String filterName,
String authorUsername)
FilterNavigation
findFilters in interface FilterNavigationfilterName - the name of the filter, possibly "" but not null.authorUsername - the name of the author or "" but not null.public List<FilterItem> sanitiseSearchFilterItems(List<FilterItem> expectedItems)
FilterNavigation
sanitiseSearchFilterItems in interface FilterNavigationexpectedItems - the template items to expect.
public List<FilterItem> sanitiseFavouriteFilterItems(List<FilterItem> expectedItems)
FilterNavigation
sanitiseFavouriteFilterItems in interface FilterNavigationexpectedItems - the template items to expect.
public String getActionBaseUrl()
FilterNavigation
getActionBaseUrl in interface FilterNavigationpublic FilterNavigation projects()
FilterNavigation
projects in interface FilterNavigation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||