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 intstatic final intFields inherited from class com.atlassian.jira.webtest.webdriver.tests.visualregression.JiraVisualRegressionTest
client, DEFAULT_DIMENSION, pageElementFinder, visualComparerFields 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 TypeMethodDescriptionstatic voidvoidTests probably all possible fields available during Create Issue processvoidDoes 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, resizeWindowToDefaultDimentionsMethods 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_PICKERpermission - should remove "Due date" field - Removes
Permissions.SCHEDULE_ISSUEpermission - should remove "Due date" field - Removes
Permissions.ASSIGN_ISSUEpermission - should remove assignee field - Removes
Permissions.LINK_ISSUEpermission - should remove link issue section - Removes
Permissions.WORK_ISSUEpermission - should remove worklog section - Grants
Permissions.SET_ISSUE_SECURITYpermission - should add issue security settings
- Removes
-