Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Document version 0.0

Status: Test Development in Progress

...

Test Area - Set active workflow stage

Test ID

Test Case

Test Steps

Result

Notes

37

An active stage is annotated with Activelabel in the RHS

38

Non-active stages are not annotated with Active labels

39

Incident commander can set a different stage as Active in an ongoing incident

40

Workflow member can set a different stage as Active in an ongoing incident

41

Workflow member cannot set a different stage as Active in an incident that has been ended

42

Workflow member can set a different stage as Active in an incident that has been restarted

43

Plugin posts a message in the incident channel when changing an active stage

44

Workflow member views the active stage by default in incident RHS

45

When an active stage is changed by a different user, the stage selected in the RHS remains as is but without the Active annotation

46

In case of only one stage, the stage is set as active by default

47

In case of multiple stages, the first stage is set as active by default

48

Switching between the stages does not set the stage as active

  1. Log in as user-1.

  2. Bring up the incident creation modal (using any method).

  3. Click the “Create a playbook” button.

  4. Enter “PB1” as the playbook name.

  5. Enter “S1” as the first stage.

  6. Add a new step and call it “S2”.

  7. Add another step and call it “S3”.

  8. Save playbook.

  9. Switch to a normal channel view.

  10. Start a new incident “I1” with “PB1”.

  11. In the incident RHS, verify that “S1” under “Stages” has an Activelabel next to it.

38

Non-active stages are not annotated with Active labels

Continue with the above test.

  1. From the incident RHS for “I1”, click the “Stages” dropdown menu.

  2. Verify that “S2” and “S3” don’t have Activelabel next to them.

39

Incident commander can set a different stage as Active in an ongoing incident

Continue with the above test.

  1. From “Stages” in the incident RHS for “I1”, select “S2”.

  2. Verify a “Make Active” button appears above the dropdown box.

  3. Click the “Make Active” button.

  4. Verify that there is now an Active label next to “S2”.

  5. Verify that there is no longer an Active label next to “S1”.

40

Workflow member can set a different stage as Active in an ongoing incident

Continue with the above test.

  1. Invite user-2 to the “I1” incident channel.

  2. Log in as user-2.

  3. From the “Stages” in the incident RHS for “I1”, select “S3”.

  4. Verify a “Make Active” button appears above the dropdown box.

  5. Click the “Make Active” button.

  6. Verify that there is now an Active label next to “S3”.

  7. Verify that there is no longer an Active label next to “S1” or “S2”.

  8. Log in as user-1.

  9. Verify that “S3” has an Active label next to it.

41

Workflow member cannot set a different stage as Active in an incident that has been ended

Continue with the above test.

  1. As user-1, end the incident “I1”.

  2. From the “Stages” in the incident RHS for “I1”, select “S2”.

  3. Verify that “Make Active” button does not appear above the dropdown box (or even if it appears, it’s greyed out?)

42

Workflow member can set a different stage as Active in an incident that has been restarted

Continue with the above test.

  1. From the incident RHS, click “Restart Incident”.

  2. Verify that the incident has restarted: The “Restart Incident” button has changed to “End Incident”.

  3. Select “S2” from the Stages dropdown in the RHS.

  4. Click the “Make Active” button.

  5. Verify that “S2” has the Active label next to it.

43

Plugin posts a message in the incident channel when changing an active stage

Continue from the above test.

  1. Verify that setting “S2” as the active stage created a post that the stage has been set as active in the incident channel.

  2. Verify that the post were also created in the former tests while setting different stages as active.

44

Workflow member views the active stage by default in incident RHS

Continue with the above test.

  1. Log in as user-2.

  2. Open the RHS for “I1”.

  3. Verify that when the RHS for “I1” opens, the Stages dropdown shows “S2” by default.

45

When an active stage is changed by a different user, the stage selected in the RHS remains as is but without the Active annotation

Continue with the above test.

  1. While viewing the “I1” RHS as user-2, have user-1 set “S1” as the active stage.

  2. Verify that user-2 continues to see “S2” still in the RHS but now without the Active label.

46

In case of only one stage, the stage is set as active by default

  1. As user-1, create a new playbook “P2”.

  2. Have only one stage “S1” in “P2”.

  3. Save playbook.

  4. Switch to a normal channel view.

  5. Start a new incident “I2” with “P2”.

  6. Verify that when “I2” is successfully started, the RHS shows the “Stages” dropdown shows “S1 active” as the default stage.

47

In case of multiple stages, the first stage is set as active by default

  1. From the playbook backstage, create a new playbook “P3”.

  2. Add stages “S1”, “S2”, “S3” and “S4”.

  3. Save playbook.

  4. Switch to normal channel view.

  5. Start an incident “I3” using “P3”.

  6. When “I3” is successfully started, verify that the RHS shows “S1” as the active stage in the dropdown.

48

Switching between the stages does not set the stage as active

Continue from the above test.

  1. From the “Stages” dropdown, select “S2”.

  2. Verify that when “S2” loads in the RHS, there is no Active label.

  3. From the dropdown, select “S3”.

  4. Verify that when “S3” loads in the RHS, there is no Active label.

  5. From the dropdown, select “S4”.

  6. Verify that when “S4” loads in the RHS, there is no Active label.

  7. From the dropdown, select “S1”.

  8. Verify that when “S1” loads in the RHS, there is Active label.

49

Selecting a non-active stage from the RHS dropdown shows a Make Active option prompt

Covered by #39

50

Selecting an active stage from the RHS dropdown does not show a Make Active option prompt

51

Workflow member can check items off of stages that are active

52

Workflow member can uncheck items of stages that are not active

53

Workflow member can check off items of an ongoing incident

54

Workflow member cannot checkoff items of an ended incident

55

Workflow member can checkoff items of a restarted incident

...