public class TestAdminMenuWebFragment extends BaseJiraFuncTest
To test just the admin menu, this test case only uses users with permission to goto the administration section
To keep it simple, the test xml file only changed the group settings (and not any roles)
administration, assertions, backdoor, bulkOperations, editIssueFieldVisibility, environmentData, form, indexing, initClass, issueTableAssertions, locator, logger, navigation, page, parse, tester, testRule, textAssertions
Constructor and Description |
---|
TestAdminMenuWebFragment() |
Modifier and Type | Method and Description |
---|---|
void |
_testOtherUsersCannotSeeAdminSections()
Test that all other users (including not logged in) can only see project section with restriction message
|
void |
_testProjectAdminCanSeeProjectSectionOnly()
Test that the system administrator can only see the project section
|
void |
_testSystemAdminCanSeeAllAdminSections()
Test that all administrative sections are AVAILABLE when the user IS a system administrator
|
void |
assertAdminLinksAreNotVisible() |
void |
assertAdminLinksAreVisible() |
void |
setUpTest() |
void |
tearDownTest() |
void |
testAdminMenuWebFragment() |
forTest, getAssertions, getBackdoor, getEnvironmentData, getTester
public void setUpTest()
public void tearDownTest()
public void testAdminMenuWebFragment()
public void _testSystemAdminCanSeeAllAdminSections()
public void _testProjectAdminCanSeeProjectSectionOnly()
public void _testOtherUsersCannotSeeAdminSections()
public void assertAdminLinksAreVisible()
public void assertAdminLinksAreNotVisible()
Copyright © 2002-2016 Atlassian. All Rights Reserved.