Class AbstractTestWorkflowSchemeMigration
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration
- Direct Known Subclasses:
AbstractTestDraftWorkflowSchemeMigration,TestWorkflowMigration
- Since:
- v5.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected LocatorFactoryprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidassertIssuesMigratedAndChangeHistory(String projectKey) protected voidassertIssueVerifierErrorMessages(String projectKey) protected voidassertJqlResults(String jql, String... expectedKeys) protected voidprotected voidassertStandardIssues(String projectKey) protected voidprotected com.atlassian.jira.testkit.client.restclient.Issueprotected static com.atlassian.jira.testkit.client.restclient.ChangeLog.HistoryItemList<com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration.IssueTypeMapping> mappings()protected voidprotected voidwaitForSuccessfulWorkflowActivation(String targetWorkflowName) Waits for the worflow activation "asynch" screens to finish and then puts it on the ListWorkflow pageprotected voidwaitForSuccessfulWorkflowSchemeMigration(String projectName, String targetWorkflowName) Deprecated.Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Field Details
-
TEST_PROJECT_NAME
- See Also:
-
TEST_PROJECT_KEY
- See Also:
-
HOMOSAPIEN_PROJECT_NAME
- See Also:
-
SOURCE_WORKFLOW_SCHEME
- See Also:
-
DESTINATION_WORKFLOW_SCHEME
- See Also:
-
REOPENED_STATUS_NAME
- See Also:
-
WORKFLOW_HOMOSAPIEN_SOURCE_1
- See Also:
-
WORKFLOW_HOMOSPIEN_DESTINATION
- See Also:
-
WORKFLOW_HOMOSAPIEN_SOURCE_2
- See Also:
-
WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_SOURCE
- See Also:
-
WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_DESTINATION
- See Also:
-
TRANSITION_NAME_GO_CUSTOM
- See Also:
-
ACKNOWLEDGE
- See Also:
-
DONE
- See Also:
-
WORKFLOW_FIELD_ID
- See Also:
-
SUMMARY_FIELD_ID
- See Also:
-
RESOLUTION_FIELD_ID
- See Also:
-
STATUS_FIELD_ID
- See Also:
-
FIX_VERSIONS_FIELD_ID
- See Also:
-
CUSTOM_STATUS_1
- See Also:
-
CUSTOM_STATUS_2
- See Also:
-
CUSTOM_STATUS_3
- See Also:
-
CUSTOM_STATUS_4
- See Also:
-
RESOLVED_STATUS_NAME
- See Also:
-
CLOSED_STATUS_NAME
- See Also:
-
IN_PROGRESS_STATUS_NAME
- See Also:
-
DESTINATION_WORKFLOW
- See Also:
-
JIRA_DEFAULT_WORKFLOW
- See Also:
-
SOURCE_WORKFLOW_1
- See Also:
-
SOURCE_WORKFLOW_2
- See Also:
-
locator
-
-
Constructor Details
-
AbstractTestWorkflowSchemeMigration
public AbstractTestWorkflowSchemeMigration()
-
-
Method Details
-
item
-
createTestWorkflowMigrationMapping
-
assertStandardIssues
-
getIssue
-
assertJqlResults
-
assertIssuesAfterMigrationWithUnupdatedWorkflowScheme
protected void assertIssuesAfterMigrationWithUnupdatedWorkflowScheme() -
assertIssuesMigratedAndChangeHistory
-
assertMappingAndSelectOptionsForHalfMigratedDataNewDestination
- Throws:
SAXException
-
assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination
protected void assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination() -
checkIssuesInTestProjectAfterHalfMigratedDataNewDestination
protected void checkIssuesInTestProjectAfterHalfMigratedDataNewDestination() -
waitForFailedMigration
protected void waitForFailedMigration() -
waitForSuccessfulWorkflowActivation
Waits for the worflow activation "asynch" screens to finish and then puts it on the ListWorkflow page- Parameters:
targetWorkflowName- the name of the workflow.
-
waitForSuccessfulWorkflowSchemeMigration
@Deprecated protected void waitForSuccessfulWorkflowSchemeMigration(String projectName, String targetWorkflowName) Deprecated.Waits until a workflow scheme migration completes now that it runs asynchronously.- Parameters:
projectName- the name of the project to associate the worflow scheme totargetWorkflowName- the name of the workflow scheme to associate the project to
-
assertIssueVerifierErrorMessages
-
mappings
public List<com.atlassian.jira.webtests.ztests.workflow.AbstractTestWorkflowSchemeMigration.IssueTypeMapping> mappings()
-
WorkflowSchemes.waitForSuccessfulWorkflowSchemeMigration(java.lang.String, java.lang.String)instead.