public class TestDraftWorkflowSchemeMultipleProjectsMigration extends AbstractTestDraftWorkflowSchemeMigration
AbstractTestWorkflowSchemeMigration.IssueAssertions
COPY_2_OF_SOURCE_WORKFLOW_SCHEME, COPY_OF_SOURCE_WORKFLOW_SCHEME, COPY_OF_SOURCE_WORKFLOW_SCHEME_DESCRIPTION, DRAFT_WORKFLOW_MAPPING, SOURCE_SCHEME_DESCRIPTION, SOURCE_SCHEME_ID, SOURCE_SCHEME_WORKFLOW_MAPPING, TEST_PROJECT_ID, TEST_PROJECT_ID_II, TEST_PROJECT_KEY_II, TEST_PROJECT_NAME_II
ACKNOWLEDGE, CLOSED_STATUS_NAME, CUSTOM_STATUS_1, CUSTOM_STATUS_2, CUSTOM_STATUS_3, CUSTOM_STATUS_4, DESTINATION_WORKFLOW, DESTINATION_WORKFLOW_SCHEME, DONE, FIX_VERSIONS_FIELD_ID, HOMOSAPIEN_PROJECT_NAME, IN_PROGRESS_STATUS_NAME, JIRA_DEFAULT_WORKFLOW, locator, REOPENED_STATUS_NAME, RESOLUTION_FIELD_ID, RESOLVED_STATUS_NAME, SOURCE_WORKFLOW_1, SOURCE_WORKFLOW_2, SOURCE_WORKFLOW_SCHEME, STATUS_FIELD_ID, SUMMARY_FIELD_ID, TEST_PROJECT_KEY, TEST_PROJECT_NAME, TRANSITION_NAME_GO_CUSTOM, WORKFLOW_FIELD_ID, WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_DESTINATION, WORKFLOW_HOMOSAPIEN_CUSTOM_ISSUETYPE_SOURCE, WORKFLOW_HOMOSAPIEN_SOURCE_1, WORKFLOW_HOMOSAPIEN_SOURCE_2, WORKFLOW_HOMOSPIEN_DESTINATION
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestDraftWorkflowSchemeMultipleProjectsMigration() |
Modifier and Type | Method and Description |
---|---|
void |
testIssueVerifierErrorInBothProjects()
Ensure the issue verifier detects problems before issues are migrated through workflow
|
void |
testIssueVerifierErrorInOneProject()
Ensure the issue verifier detects problems before issues are migrated through workflow
|
void |
testMigrateMultipleProjects() |
void |
testMigrateMultipleProjectsIfNewProjectIsAssociatedWithTheScheme() |
void |
testMultiAdminTaskProgressFlowMultipleProjects()
Tests that 2 users can look at the same task and get their proper view of it, eg the starter can acknowledge and
the other person cant
|
void |
testMultiAdminTaskProgressFlowMultipleProjectsGoToSecondProject() |
void |
testWorkflowMigrationHalfMigratedDataInTheFirstProject()
Tests workflow migration with previously failed migration.
|
void |
testWorkflowMigrationHalfMigratedDataNewDestinationInTheFirstProject()
A general workflow migration test that tests quite a few cases.
|
void |
testWorkflowMigrationWithUnupdatedIssueInTheFirstProject()
Tests workflow migration with previously failed migtaion.
|
void |
testWorkflowMigrationWithUnupdatedWorkflowSchemeInTheFirstProject()
Tests workflow migration with previously failed migration.
|
assertDraft, assertInactiveSchemeExists, assertMultiAdminTaskProgressFlow, assertNoDraft, assertNoScheme, assertScheme, assertScheme, assertSchemeAndNoDraft, assertSchemeId, assertSchemeIdChanged, publishDraft
assertIssuesAfterMigrationWithUnupdatedWorkflowScheme, assertIssuesInHomosapienProjectAfterHalfMigratedDataNewDestination, assertIssuesMigratedAndChangeHistory, assertIssueVerifierErrorMessages, assertJqlResults, assertMappingAndSelectOptionsForHalfMigratedDataNewDestination, assertStandardIssues, checkIssuesInTestProjectAfterHalfMigratedDataNewDestination, createTestWorkflowMigrationMapping, getIssue, item, mappings, waitForFailedMigration, waitForSuccessfulWorkflowActivation, waitForSuccessfulWorkflowSchemeMigration
getAssertions, getBackdoor, getEnvironmentData, getTester
public TestDraftWorkflowSchemeMultipleProjectsMigration()
public void testMigrateMultipleProjects()
public void testWorkflowMigrationHalfMigratedDataInTheFirstProject()
Imports a project which is still associated with its 'old' workflow scheme but issues TST-1, TST-2, TST-5 and TST-10 have been migrated to new workflows in the new workflow scheme
This test migrates the issues again.
public void testWorkflowMigrationWithUnupdatedIssueInTheFirstProject()
Restore data where a workflow migration migrates issues TST-1, TST-2, TST-5 and TST-10 then creates a new wf entry for TST-4, marks an existing wf entry as killed, creates a new current step, removes the old one, and then dies. So we have a project which is still associated with its 'old' workflow scheme But some issues have been migrated to workflows in the new workflow scheme
This test migrates the issues again.
public void testWorkflowMigrationWithUnupdatedWorkflowSchemeInTheFirstProject()
Restores data where a workflow migration dies after migrating all issues but still leaving behind the association to the old workflow scheme So we have a project which is still associated with its 'old' workflow scheme But all issues have been migrated to workflows in the new workflow scheme
This test migrates the issues again.
public void testWorkflowMigrationHalfMigratedDataNewDestinationInTheFirstProject() throws SAXException
The state of issues in the Homospaien project and where they are being migrated is discussed below:
Bugs will be migrated to a completely new workflow - Homospien Destination. That is, not the same workflow to
which migration failed (Homospien Destination Failure).
which exist in Homospien Destination Failure workflow, but do not exist in Homospien Destination workflow.
The test also ensures that while migrating issues for the Homosapien project, the issues in Test project were not touched.
SAXException
public void testIssueVerifierErrorInOneProject()
public void testIssueVerifierErrorInBothProjects()
public void testMigrateMultipleProjectsIfNewProjectIsAssociatedWithTheScheme()
public void testMultiAdminTaskProgressFlowMultipleProjects()
public void testMultiAdminTaskProgressFlowMultipleProjectsGoToSecondProject()
Copyright © 2002-2022 Atlassian. All Rights Reserved.