public class TestDraftWorkflowSchemeMigration 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, 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 |
---|
TestDraftWorkflowSchemeMigration() |
Modifier and Type | Method and Description |
---|---|
void |
testDrafWorkflowRemovedWhenInactive() |
void |
testDrafWorkflowRemovedWhenInactiveWithIssues() |
void |
testIssueVerifierError()
Ensure the issue verifier detects problems before issues are migrated through workflow
|
void |
testMultiAdminTaskProgressFlow()
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 |
testWorkflowMigration() |
void |
testWorkflowMigrationHalfMigratedData()
Tests workflow migration with previously failed migration.
|
void |
testWorkflowMigrationHalfMigratedDataNewDestination()
A general workflow migration test that tests quite a few cases.
|
void |
testWorkflowMigrationWithUnupdatedIssue()
Tests workflow migration with previously failed migtaion.
|
void |
testWorkflowMigrationWithUnupdatedWorkflowScheme()
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 void testDrafWorkflowRemovedWhenInactive()
public void testDrafWorkflowRemovedWhenInactiveWithIssues()
public void testWorkflowMigration()
public void testWorkflowMigrationHalfMigratedData()
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 testWorkflowMigrationWithUnupdatedIssue()
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 testWorkflowMigrationWithUnupdatedWorkflowScheme()
Restores data where a workflow migration dies after migrating all issues but without saving the changes from the draft and deleting it. 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 testWorkflowMigrationHalfMigratedDataNewDestination() throws SAXException
SAXException
public void testIssueVerifierError()
public void testMultiAdminTaskProgressFlow()
Copyright © 2002-2022 Atlassian. All Rights Reserved.