Class TestVisualRegressionCreateIssue
java.lang.Object
com.atlassian.jira.pageobjects.JiraWebDriverTest
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.visualregression.JiraVisualRegressionTest
com.atlassian.jira.webtest.webdriver.tests.visualregression.TestVisualRegressionCreateIssue
Visual regression tests for Create Issue screen.
Here we basically check the correctness of rendering system and built-in custom field types.- Since:
- v6.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
Fields inherited from class com.atlassian.jira.webtest.webdriver.tests.visualregression.JiraVisualRegressionTest
client, DEFAULT_DIMENSION, pageElementFinder, visualComparer
Fields inherited from class com.atlassian.jira.pageobjects.BaseJiraWebTest
jiraWebTestClassRules, webTestRule
Fields inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
backdoor, jira, logger, mailHelper, pageBinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
Tests probably all possible fields available during Create Issue processvoid
Does some tricks with permissions and then checks whether it is reflected on Create Issue screenMethods inherited from class com.atlassian.jira.webtest.webdriver.tests.visualregression.JiraVisualRegressionTest
addElementsToIgnore, addElementsToIgnore, assertPageMatches, assertPageMatches, assertUIMatches, assertUIMatchesIgnoringElements, clickOnElement, clickOnElement, closeInsiderPopUp, getBaselineScreenshotFilePath, getDimension, goTo, goToErrorPage, removeUPMCount, resetVisualComparer, resizeWindowToDefaultDimentions
Methods inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
getBackdoor, getBaseClassRule, getBaseRule
-
Field Details
-
ROLE_DEVELOPER
public static final int ROLE_DEVELOPER- See Also:
-
COPY_OF_DEFAULT_SCHEME
public static final int COPY_OF_DEFAULT_SCHEME- See Also:
-
-
Constructor Details
-
TestVisualRegressionCreateIssue
public TestVisualRegressionCreateIssue()
-
-
Method Details
-
restoreInstance
public static void restoreInstance() -
testCreateIssuePageDefaultConfig
public void testCreateIssuePageDefaultConfig()Tests probably all possible fields available during Create Issue process -
testCreateIssuePageRescrictedConfig
public void testCreateIssuePageRescrictedConfig()Does some tricks with permissions and then checks whether it is reflected on Create Issue screen
- Removes
Permissions.USER_PICKER
permission - should remove "Due date" field - Removes
Permissions.SCHEDULE_ISSUE
permission - should remove "Due date" field - Removes
Permissions.ASSIGN_ISSUE
permission - should remove assignee field - Removes
Permissions.LINK_ISSUE
permission - should remove link issue section - Removes
Permissions.WORK_ISSUE
permission - should remove worklog section - Grants
Permissions.SET_ISSUE_SECURITY
permission - should add issue security settings
- Removes
-