public abstract class AbstractTestWorkflowSchemeMigration extends BaseJiraFuncTest
Modifier and Type | Class and Description |
---|---|
static class |
AbstractTestWorkflowSchemeMigration.IssueAssertions |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
AbstractTestWorkflowSchemeMigration() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertIssuesAfterMigrationWithUnupdatedWorkflowScheme() |
protected void |
assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination() |
protected void |
assertIssuesMigratedAndChangeHistory(String projectKey) |
protected void |
assertIssueVerifierErrorMessages(String projectKey) |
protected void |
assertJqlResults(String jql,
String... expectedKeys) |
protected void |
assertMappingAndSelectOptionsForHalfMigratedDataNewDestination() |
protected void |
assertStandardIssues(String projectKey) |
protected void |
checkIssuesInTestProjectAfterHalfMigratedDataNewDestination() |
protected Map<String,String> |
createTestWorkflowMigrationMapping() |
protected com.atlassian.jira.testkit.client.restclient.Issue |
getIssue(String issueKey) |
protected static com.atlassian.jira.testkit.client.restclient.ChangeLog.HistoryItem |
item(String field,
String from,
String to) |
List<com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration.IssueTypeMapping> |
mappings() |
protected void |
waitForFailedMigration() |
protected void |
waitForSuccessfulWorkflowActivation(String targetWorkflowName)
Waits for the worflow activation "asynch" screens to finish and then puts it on the ListWorkflow page
|
protected void |
waitForSuccessfulWorkflowSchemeMigration(String projectName,
String targetWorkflowName)
Deprecated.
|
getAssertions, getBackdoor, getEnvironmentData, getTester
protected static final String TEST_PROJECT_NAME
protected static final String TEST_PROJECT_KEY
protected static final String HOMOSAPIEN_PROJECT_NAME
protected static final String SOURCE_WORKFLOW_SCHEME
protected static final String DESTINATION_WORKFLOW_SCHEME
protected static final String REOPENED_STATUS_NAME
protected static final String WORKFLOW_HOMOSAPIEN_SOURCE_1
protected static final String WORKFLOW_HOMOSPIEN_DESTINATION
protected static final String WORKFLOW_HOMOSAPIEN_SOURCE_2
protected static final String WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_SOURCE
protected static final String WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_DESTINATION
protected static final String TRANSITION_NAME_GO_CUSTOM
protected static final String ACKNOWLEDGE
protected static final String DONE
protected static final String WORKFLOW_FIELD_ID
protected static final String SUMMARY_FIELD_ID
protected static final String RESOLUTION_FIELD_ID
protected static final String STATUS_FIELD_ID
protected static final String FIX_VERSIONS_FIELD_ID
protected static final String CUSTOM_STATUS_1
protected static final String CUSTOM_STATUS_2
protected static final String CUSTOM_STATUS_3
protected static final String CUSTOM_STATUS_4
protected static final String RESOLVED_STATUS_NAME
protected static final String CLOSED_STATUS_NAME
protected static final String IN_PROGRESS_STATUS_NAME
protected static final String DESTINATION_WORKFLOW
protected static final String JIRA_DEFAULT_WORKFLOW
protected static final String SOURCE_WORKFLOW_1
protected static final String SOURCE_WORKFLOW_2
@Inject protected LocatorFactory locator
protected static com.atlassian.jira.testkit.client.restclient.ChangeLog.HistoryItem item(String field, String from, String to)
protected Map<String,String> createTestWorkflowMigrationMapping()
protected void assertStandardIssues(String projectKey)
protected com.atlassian.jira.testkit.client.restclient.Issue getIssue(String issueKey)
protected void assertIssuesAfterMigrationWithUnupdatedWorkflowScheme()
protected void assertIssuesMigratedAndChangeHistory(String projectKey)
protected void assertMappingAndSelectOptionsForHalfMigratedDataNewDestination() throws SAXException
SAXException
protected void assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination()
protected void checkIssuesInTestProjectAfterHalfMigratedDataNewDestination()
protected void waitForFailedMigration()
protected void waitForSuccessfulWorkflowActivation(String targetWorkflowName)
targetWorkflowName
- the name of the workflow.@Deprecated protected void waitForSuccessfulWorkflowSchemeMigration(String projectName, String targetWorkflowName)
WorkflowSchemes.waitForSuccessfulWorkflowSchemeMigration(java.lang.String, java.lang.String)
instead.projectName
- the name of the project to associate the worflow scheme totargetWorkflowName
- the name of the workflow scheme to associate the project toprotected void assertIssueVerifierErrorMessages(String projectKey)
public List<com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration.IssueTypeMapping> mappings()
Copyright © 2002-2019 Atlassian. All Rights Reserved.