Class AbstractProjectLevelAdminScreenEditorComponent
java.lang.Object
com.atlassian.jira.pageobjects.JiraWebDriverTest
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.screeneditor.AbstractTestScreenEditorComponent
com.atlassian.jira.webtest.webdriver.tests.screeneditor.AbstractProjectLevelAdminScreenEditorComponent
- Direct Known Subclasses:
TestIssueTypeConfigScreenEditor,TestScreenView
public abstract class AbstractProjectLevelAdminScreenEditorComponent
extends AbstractTestScreenEditorComponent
- Since:
- v7.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Longprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class com.atlassian.jira.webtest.webdriver.tests.screeneditor.AbstractTestScreenEditorComponent
FIELD_TAB, RESOLUTION, SCOTTS_TAB, timeoutsFields inherited from class com.atlassian.jira.pageobjects.BaseJiraWebTest
jiraWebTestClassRules, webTestRuleFields inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
backdoor, jira, logger, mailHelper, pageBinder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertAnalyticsWhenUserIsGlobalAdmin(String tabId, String screenViewEventName, Long screenId) protected voidassertAnalyticsWhenUserIsGlobalAdminWithoutExtendedPermission(String tabId, String screenViewEventName, Long screenId) protected voidassertAnalyticsWhenUserIsProjectLevelAdmin(String tabId, String screenViewEventName, Long screenId) protected voidassertAnalyticsWhenUserIsProjectLevelAdminWithoutExtendedPermission(String tabId, String screenViewEventName, Long screenId) protected voidassertScreenViewEvent(String eventName, boolean isAdmin, boolean hasExtPermission, boolean readOnly, Long screenId) protected voidassertTabLoadedEvent(String tabId, boolean isAdmin, boolean isSysAdmin, boolean hasExtPermission) protected voidcaptureAnalyticsForTest(Runnable testCode) protected Longprotected abstract ScreenEditorvoidvoidvoidvoidvoidvoidvoidMethods inherited from class com.atlassian.jira.webtest.webdriver.tests.screeneditor.AbstractTestScreenEditorComponent
clearAndAndReopenSuggestions, fieldsToAdd, fieldsToAdd, getScreenEditor, openCreateDialog, setUp, testAddingAndRemovingTab, testAddingFields, testAddTabFail, testRemovingFields, testRenamingTabFail, testRenamingTabSuccess, testReorderingTabsMethods inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
getBackdoor, getBaseClassRule, getBaseRule
-
Field Details
-
EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
- See Also:
-
DEFAULT_PERMISSION_SCHEME
-
PROJECT_ADMIN_USER
- See Also:
-
LABELS
- See Also:
-
-
Constructor Details
-
AbstractProjectLevelAdminScreenEditorComponent
public AbstractProjectLevelAdminScreenEditorComponent()
-
-
Method Details
-
getProjectAdminScreenEditor
-
testCannotEditWithoutExtendedPermissionFlag
public void testCannotEditWithoutExtendedPermissionFlag() -
testAddingFieldsAsBob
public void testAddingFieldsAsBob() -
testRemovingFieldsAsBob
public void testRemovingFieldsAsBob() -
testAddingAndRemovingTabAsBob
public void testAddingAndRemovingTabAsBob() -
testAddTabFailAsBob
public void testAddTabFailAsBob() -
testReorderingTabsAsBob
public void testReorderingTabsAsBob() -
testRemoveTabbNotVissibleForSingleTab
public void testRemoveTabbNotVissibleForSingleTab() -
assertAnalyticsWhenUserIsGlobalAdmin
-
assertAnalyticsWhenUserIsGlobalAdminWithoutExtendedPermission
-
assertAnalyticsWhenUserIsProjectLevelAdmin
-
assertAnalyticsWhenUserIsProjectLevelAdminWithoutExtendedPermission
-
captureAnalyticsForTest
-
assertTabLoadedEvent
protected void assertTabLoadedEvent(String tabId, boolean isAdmin, boolean isSysAdmin, boolean hasExtPermission) -
assertScreenViewEvent
-
getCurrentProjectId
-