Class TestSearchDashboardPages
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.dashboard.TestSearchDashboardPages
A functional test of the simple dashboard page searching.
- Since:
- v3.13
-
Field Summary
Fields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCheck that we can find all pages.voidvoidvoidTry and search for a group that does not exist.voidTest to see what happens when matching exactly 20 pages.voidTry and search for a group that you are not a member of.voidvoidvoidvoidvoidvoidMake sure we can combine user and name search.voidCheck that a search through the name works correctly.voidCheck that a search that returns no results works.voidCheck what happens when passed a bad project argument.voidLook for shares associated with a project.voidCheck a project search from Alice's perspective.voidLook to make sure no match works.voidCheck what happens when you try to search project you don't have permission to see.voidCheck what happens when trying to search object that does not exist.voidCheck paging to ensure project settings are transferred.voidExecute a complex query with project.voidCheck what happens with invalid role.voidCheck what happens when not member of the role.voidCheck paging to ensure project settings are transferred.voidCheck what happens when role does not exist.voidMake sure a role match works correctly.voidMake sure that complex match also works.voidMake sure that matching no results works.voidMake sure that matching no results works.voidMake sure that clicking the link restarts the search.voidCheck that we prevent XSSvoidMake sure we get an error when the user does not exist.voidCheck that we can search by the user.voidCheck that search by the user is ignored if we don't have "Browse users" permission.Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Constructor Details
-
TestSearchDashboardPages
public TestSearchDashboardPages()
-
-
Method Details
-
testInitialStateAnonymous
public void testInitialStateAnonymous() -
testInitialStateWithoutBrowseUsersPermission
public void testInitialStateWithoutBrowseUsersPermission() -
testInitialStateWithBrowseUsersPermission
public void testInitialStateWithBrowseUsersPermission() -
testUsernameAndSearchTextAreEscaped
public void testUsernameAndSearchTextAreEscaped()Check that we prevent XSS -
testAllSearch
public void testAllSearch()Check that we can find all pages. -
testAllSearchAnonymous
public void testAllSearchAnonymous() -
testNameSearch
public void testNameSearch()Check that a search through the name works correctly. -
testNameSearchNoResults
public void testNameSearchNoResults()Check that a search that returns no results works. -
testUserSearch
public void testUserSearch()Check that we can search by the user. -
testUserSearchWithoutBrowseUsersPermission
public void testUserSearchWithoutBrowseUsersPermission()Check that search by the user is ignored if we don't have "Browse users" permission. -
testUserNotExistSearch
public void testUserNotExistSearch()Make sure we get an error when the user does not exist. -
testNameAndUserSearch
public void testNameAndUserSearch()Make sure we can combine user and name search. -
testGroupSearch
public void testGroupSearch() -
testGroupSearchNoMatch
public void testGroupSearchNoMatch() -
testGroupAndNameSearch
public void testGroupAndNameSearch() -
testGroupDoesNotExist
public void testGroupDoesNotExist()Try and search for a group that does not exist. -
testGroupNotMember
public void testGroupNotMember()Try and search for a group that you are not a member of. -
testGroupExact
public void testGroupExact()Test to see what happens when matching exactly 20 pages. -
testProjectSearch
public void testProjectSearch()Look for shares associated with a project. -
testProjectSearchAlice
public void testProjectSearchAlice()Check a project search from Alice's perspective. -
testProjectSearchNoMatch
public void testProjectSearchNoMatch()Look to make sure no match works. -
testProjectSearchWithAuthorAndName
public void testProjectSearchWithAuthorAndName()Execute a complex query with project. -
testProjectSearchOnProjectThatDoesNotExist
public void testProjectSearchOnProjectThatDoesNotExist()Check what happens when trying to search object that does not exist. -
testProjectSearchNoPermission
public void testProjectSearchNoPermission()Check what happens when you try to search project you don't have permission to see. -
testProjectSearchPaging
public void testProjectSearchPaging()Check paging to ensure project settings are transferred. -
testProjectBadArgument
public void testProjectBadArgument()Check what happens when passed a bad project argument. -
testRoleSearch
public void testRoleSearch()Make sure a role match works correctly. -
testRoleSearchNoResults
public void testRoleSearchNoResults()Make sure that matching no results works. -
testRoleSearchComplex
public void testRoleSearchComplex()Make sure that complex match also works. -
testRoleSearchComplexNoResults
public void testRoleSearchComplexNoResults()Make sure that matching no results works. -
testRolePaging
public void testRolePaging()Check paging to ensure project settings are transferred. -
testRoleRoleDoesNotExist
public void testRoleRoleDoesNotExist()Check what happens when role does not exist. -
testRoleNotMember
public void testRoleNotMember()Check what happens when not member of the role. -
testRoleIllegalRole
public void testRoleIllegalRole()Check what happens with invalid role. The bad role should just be ignored. -
testSortRestart
public void testSortRestart()Make sure that clicking the link restarts the search.
-