public class TestSearchDashboardPages extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
static String |
USERNAME_WITH_XSS |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestSearchDashboardPages() |
Modifier and Type | Method and Description |
---|---|
void |
setUpTest() |
void |
testAllSearch()
Check that we can find all pages.
|
void |
testAllSearchAnonymous() |
void |
testGroupAndNameSearch() |
void |
testGroupDoesNotExist()
Try and search for a group that does not exist.
|
void |
testGroupExact()
Test to see what happens when matching exactly 20 pages.
|
void |
testGroupNotMember()
Try and search for a group that you are not a member of.
|
void |
testGroupSearch() |
void |
testGroupSearchNoMatch() |
void |
testInitialStateAnonymous() |
void |
testInitialStateWithBrowseUsersPermission() |
void |
testInitialStateWithoutBrowseUsersPermission() |
void |
testNameAndUserSearch()
Make sure we can combine user and name search.
|
void |
testNameSearch()
Check that a search through the name works correctly.
|
void |
testNameSearchNoResults()
Check that a search that returns no results works.
|
void |
testProjectBadArgument()
Check what happens when passed a bad project argument.
|
void |
testProjectSearch()
Look for shares associated with a project.
|
void |
testProjectSearchAlice()
Check a project search from Alice's perspective.
|
void |
testProjectSearchNoMatch()
Look to make sure no match works.
|
void |
testProjectSearchNoPermission()
Check what happens when you try to search project you don't have permission to see.
|
void |
testProjectSearchOnProjectThatDoesNotExist()
Check what happens when trying to search object that does not exist.
|
void |
testProjectSearchPaging()
Check paging to ensure project settings are transferred.
|
void |
testProjectSearchWithAuthorAndName()
Execute a complex query with project.
|
void |
testRoleIllegalRole()
Check what happens with invalid role.
|
void |
testRoleNotMember()
Check what happens when not member of the role.
|
void |
testRolePaging()
Check paging to ensure project settings are transferred.
|
void |
testRoleRoleDoesNotExist()
Check what happens when role does not exist.
|
void |
testRoleSearch()
Make sure a role match works correctly.
|
void |
testRoleSearchComplex()
Make sure that complex match also works.
|
void |
testRoleSearchComplexNoResults()
Make sure that matching no results works.
|
void |
testRoleSearchNoResults()
Make sure that matching no results works.
|
void |
testSortRestart()
Make sure that clicking the link restarts the search.
|
void |
testUsernameAndSearchTextAreEscaped()
Check that we prevent XSS
|
void |
testUserNotExistSearch()
Make sure we get an error when the user does not exist.
|
void |
testUserSearch()
Check that we can search by the user.
|
void |
testUserSearchWithoutBrowseUsersPermission()
Check that search by the user is ignored if we don't have "Browse users" permission.
|
getAssertions, getBackdoor, getEnvironmentData, getTester
public static final String USERNAME_WITH_XSS
public void setUpTest()
public void testInitialStateAnonymous()
public void testInitialStateWithoutBrowseUsersPermission()
public void testInitialStateWithBrowseUsersPermission()
public void testUsernameAndSearchTextAreEscaped()
public void testAllSearch()
public void testAllSearchAnonymous()
public void testNameSearch()
public void testNameSearchNoResults()
public void testUserSearch()
public void testUserSearchWithoutBrowseUsersPermission()
public void testUserNotExistSearch()
public void testNameAndUserSearch()
public void testGroupSearch()
public void testGroupSearchNoMatch()
public void testGroupAndNameSearch()
public void testGroupDoesNotExist()
public void testGroupNotMember()
public void testGroupExact()
public void testProjectSearch()
public void testProjectSearchAlice()
public void testProjectSearchNoMatch()
public void testProjectSearchWithAuthorAndName()
public void testProjectSearchOnProjectThatDoesNotExist()
public void testProjectSearchNoPermission()
public void testProjectSearchPaging()
public void testProjectBadArgument()
public void testRoleSearch()
public void testRoleSearchNoResults()
public void testRoleSearchComplex()
public void testRoleSearchComplexNoResults()
public void testRolePaging()
public void testRoleRoleDoesNotExist()
public void testRoleNotMember()
public void testRoleIllegalRole()
public void testSortRestart()
Copyright © 2002-2019 Atlassian. All Rights Reserved.