Test Area - Set active workflow stage |
---|
Test ID | Test Case | Test Steps | Result | Notes |
37 | An active stage is annotated with Active label 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 | Log in as user-1. Bring up the incident creation modal (using any method). Click the “Create a playbook” button. Enter “PB1” as the playbook name. Enter “S1” as the first stage. Add a new step and call it “S2”. Add another step and call it “S3”. Save playbook. Switch to a normal channel view. Start a new incident “I1” with “PB1”. In the incident RHS, verify that “S1” under “Stages” has an Active label next to it.
| | |
38 | Non-active stages are not annotated with Active labels | Continue with the above test. From the incident RHS for “I1”, click the “Stages” dropdown menu. Verify that “S2” and “S3” don’t have Active label next to them.
| | |
39 | Incident commander can set a different stage as Active in an ongoing incident | Continue with the above test. From “Stages” in the incident RHS for “I1”, select “S2”. Verify a “Make Active” button appears above the dropdown box. Click the “Make Active” button. Verify that there is now an Active label next to “S2”. 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. Invite user-2 to the “I1” incident channel. Log in as user-2. From the “Stages” in the incident RHS for “I1”, select “S3”. Verify a “Make Active” button appears above the dropdown box. Click the “Make Active” button. Verify that there is now an Active label next to “S3”. Verify that there is no longer an Active label next to “S1” or “S2”. Log in as user-1. 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. As user-1, end the incident “I1”. From the “Stages” in the incident RHS for “I1”, select “S2”. 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. From the incident RHS, click “Restart Incident”. Verify that the incident has restarted: The “Restart Incident” button has changed to “End Incident”. Select “S2” from the Stages dropdown in the RHS. Click the “Make Active” button. 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. Verify that setting “S2” as the active stage created a post that the stage has been set as active in the incident channel. 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. Log in as user-2. Open the RHS for “I1”. 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. While viewing the “I1” RHS as user-2, have user-1 set “S1” as the active stage. 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 | As user-1, create a new playbook “P2”. Have only one stage “S1” in “P2”. Save playbook. Switch to a normal channel view. Start a new incident “I2” with “P2”. 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 | From the playbook backstage, create a new playbook “P3”. Add stages “S1”, “S2”, “S3” and “S4”. Save playbook. Switch to normal channel view. Start an incident “I3” using “P3”. 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. From the “Stages” dropdown, select “S2”. Verify that when “S2” loads in the RHS, there is no Active label. From the dropdown, select “S3”. Verify that when “S3” loads in the RHS, there is no Active label. From the dropdown, select “S4”. Verify that when “S4” loads in the RHS, there is no Active label. From the dropdown, select “S1”. 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 | | | |