...
...
...
...
...
...
...
...
...
...
...
...
...
...
Document version
...
1.1
Status:
...
Tests Done.
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 05/11 |
0.1 | Test development done. In review. | 05/13 |
0.2 |
| 05/15 |
1.0 | Test in progress | 05/20 |
1.1 | Tests done | 05/20 |
References
...
...
...
Related Tests:
...
...
...
Summary
This document details the tests for Incident Response plugin v0.4.0. The tests are derived from the user stories in Incident Response overview. The MVP of the Incident Response plugin will be tested against all tests included in this test plan.
...
The following setup will be necessary in order to begin testing:
A Mattermost v5.23 test server: https://ir-test-523.test.mattermost.cloud/
Build Hash: ed1576d007a09b07574b18784b9eabb3d8c9db53
The test server is equipped with an E10 E20 license for the plugin to be installed.
Incident Plugin v0.4.0: plugin-incident-response-0.4.
Test Server:
Test Server (upgrade tests):
...
Channel Export Plugin v0.2: plugin-channel-export-0.2.0
Upgrade test server: https://ir-522.test.mattermost.cloud/
Test Date: 05/20/2020
Tests
Test Area - Plugin Setup | ||||
Test ID | Test Case | Test Procedure | Result | Notes |
---|---|---|---|---|
1 | Admin can install plugin in a non-EE instance |
| Pass | |
2 | Admin can install plugin in an E10 instance |
| Pass | |
3 | Admin can install plugin in an E20 instance |
| Pass |
|
4 | Admin can enable plugin |
| Pass |
|
5 | Plugin functionality is available to admin |
| Pass |
|
6 | Plugin functionality is available to normal user |
| Pass |
|
7 | Admin can disable plugin |
| Pass |
|
8 | Admin can remove plugin |
| Pass |
|
9 | Plugin upgrades normally from v0.3 to v0.4 |
| Pass | |
10 | Incidents started with |
older plugin version |
are still active and available in v0. |
11
Incidents ended with plugin v0.2 are not available in v0.3
Start a few incident with plugin version 0.3.
4 |
|
Upgrade plugin to v0.4.
Open up the incident RHS to see the incident list.
Verify that incidents started with version 0.3 are still available in v0.4.
|
Verify that incidents ended in step 2 are not visible in the list.
12
Playbook started with the older plugin version is still available upon plugin upgrade
Create a few playbooks with plugin version 0.3.
Upon plugin upgrade, verify that the playbooks created in step 1 are still available in the backstage.
Login as an admin user
Enable the Incident Response plugin
Navigate to System Console > PLUGINS > Plugin Management.
In “Installed Plugins” find Incident Response and click “Enabled”.
Log out.
Test Area - Monitor
As a user of a team, I can see a list of all past and current incidents within the team so that the information is not lost.
Test ID
Test Case
Test Procedure
Result
Notes
13
Clicking playbook
button on RHS opens Playbook backstage by default
Login as a normal user.
Go to Team-A.
From the channel header, click the incident icon to open the incident RHS.
Click the playbook icon in the RHS header.
Verify Playbooks backstage is launched.
Verify the backstage shows a list of playbooks if they exist.
Verify the Playbooks tab is highlighted on the backstage LHS.
14
Backstage shows a tab for incidents
Continue from the above test.
Create incidents a-inc-1, a-inc-2, a-inc-3.
Note the time of incident creation for each incidents for later tests.
Verify that there is an “Incidents” tab in the backstage LHS in addition to the Playbooks tab.
15
Clicking on “Incidents” tab on backstage LHS highlights the Incidents tab
Continue from the above test.
Click on the “Incidents” tab on the LHS.
Verify that the highlight shifts from Playbooks to Incidents.
16
Clicking on “Incidents” tab on backstage LHS loads the list of all incidents
Continue from the above test.
Verify that clicking on the “Incidents” tab on the LHS loads the incidents list view.
Verify that all incidents from Team-A including a-inc-1, a-inc-2, a-inc-3 are in the list.
17
Incidents list view displays the team name the incidents belong to
Continue from the above test.
Verify that the team’s name - “Team-A” is displayed in the backstage header.
18
Incident list in the backstage displays the following columns: name, status, start timestamp, end timestamp and the commander
Continue from the above test.
Verify that the incidents backstage shows incident details including name, status, start date, end date and commander for each incident.
19
The incident list in the backstage shows all active incidents that belong to the current team only
Switch to Team-B.
Create new incidents: Inc-a, Inc-b and Inc-c
Launch the incident backstage from within Team-B.
Verify that the incident list only shows the three incidents created in step 2.
Switch to Team-A.
Launch the incident backstage from within Team-A.
Verify that the incident list only shows the incidents created within Team-A.
Verify that the incident list does not show the incidents created in step 2.
Verify that the incident list shows all currently active incidents in the list.
20
The incident list in the backstage shows all inactive incidents that belong to the current team only
Switch to Team-B.
End incident Inc-b and Inc-c.
Note the incident end time for later tests.
Launch the incident backstage from within Team-B.
Verify that the incident list shows all three incidents including both active and inactive incidents.
Verify none of the incidents from Team-A are in the list.
Switch to Team-A.
End incident a-inc-2.
Note the incident end time for later tests.
Launch the incident backstage.
Verify that the incident list shows all incidents created and ended with Team-A.
| Pass |
| ||
11 | Incidents started with older plugin version are displayed correctly in the backstage incident list view | Continue from the above test.
| Pass | |
12 | Incidents started with older plugin version info is correct in the backstage incident summary page | Continue from the above test.
| Pass | |
13 | Incidents ended with plugin v0.3 are not available in v0.4 |
| Pass |
|
14 | Playbook started with the older plugin version is still available upon plugin upgrade |
| Pass |
Login as an admin user
Enable the Incident Response plugin
Navigate to System Console > PLUGINS > Plugin Management.
In “Installed Plugins” find Incident Response and click “Enabled”.
Log out.
Test Area - Monitor As a user of a team, I can see a list of all past and current incidents within the team so that the information is not lost. | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
15 | Clicking playbook button on RHS opens Playbook backstage by default |
| Pass | |
16 | Clicking “Incidents & Playbooks Backstage” in the main menu opens Incidents backstage |
| Pass | |
17 | Backstage shows a tab for incidents | Continue from the above test.
| Pass | |
18 | Clicking on “Incidents” tab on backstage LHS highlights the Incidents tab | Continue from the above test.
| Pass | |
19 | Clicking on “Incidents” tab on backstage LHS loads the list of all incidents | Continue from the above test.
| Pass | |
20 | Incidents list view displays the team name the incidents belong to | Continue from the above test.
| Pass | |
21 | Incident list in the backstage displays the following columns: name, status, start timestamp, end timestamp and the commander | Continue from the above test.
| Pass | |
22 | The incident list in the backstage shows all active incidents that belong to the current team only |
| Pass |
21
Active incidents show an “Ongoing” status in the Status
column in the backstage
Continue from the above test.
Launch the incident backstage from Team-A.
23 | The incident list in the backstage shows all inactive incidents that belong to the current team only |
|
22
| Pass | |
24 | Active incidents show an “Ongoing” status in the |
Continue from the above test.
|
|
| Pass | ||
25 | Inactive incidents (ended incidents) show an “Ended” status in the | Continue from the above test.
| Pass |
26 | The incident list in the backstage shows updated end timestamp for an incident | Continue from the above test.
|
Pass | |
27 | An active incident shows |
“--” in End Date column | Continue from the above test.
|
Pass | |||
28 | The incident list in the backstage shows updated commander for an incident |
| Pass |
29 | The incident names in the “Name” column render as clickable links | Continue from the above test.
|
| Fail |
30 | Long incident name wraps in the “Name” column displaying the entire incident name |
| Fail | |
As the incident plugin, the channel is automatically archived when the incident ends so that it reduces clutter. |
31 | Channel is archived when ending an incident with slash command |
|
N/A | Moved to 0.5 | |
32 | Channel is archived when ending an incident from RHS |
|
N/A | Moved to 0.5 | |
33 | The incident channel shows up under archived channel once the incident is ended |
|
31
N/A | Moved to 0.5 | |||
34 | Incident channels do not appear in LHS when archived channel display is turned off |
| N/A | Moved to 0.5 |
Test Area - Coordinate As a user, I can export channel transcript from the incident detail page so that it can be saved for record |
---|
Test ID | Test Case | Test Procedure | Result | Notes |
35 | When Channel Export plugin is not installed, the “Export Incident Channel” link is inactive |
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 5-7.
Pass | ||
36 | When Channel Export plugin is not installed, hovering over the “Export Incident Channel” link shows a message to “install the channel export plugin” | Continue from the above test.
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 3-4.
34
35
Pass | ||
37 | When Channel Export plugin is installed in an instance with no EE license, the “Export Incident Channel” link is inactive |
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 4-8.
Pass | ||
38 | When Channel Export plugin is installed in an instance with no EE license, hovering on the “Export Incident Channel” link shows a message that “E20 license is required” | Continue from the above test.
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 3-4.
36
Pass | ||
39 | When Channel Export plugin is installed in an instance with an E10 license, the “Export Incident” link is inactive |
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 4-8.
37
Pass | ||
40 | When Channel Export plugin is installed in an instance with an E10 license, hovering on the “Export Incident Channel” link shows a message that “E20 license is required” | Continue from the above test.
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 3-4.
38
39
Pass | ||
41 | When Channel export plugin is installed but not enabled, the “Export Incident Channel” link is inactive |
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 4-8.
Pass | ||
42 | When Channel Export plugin is installed but not enabled, hovering over the “Export Incident Channel” shows “enable the plugin” message | Continue from the above test.
|
Go back to the incident list view.
Find an incident the user is not a member of.
Repeat steps 3-4.
Fail | |||
43 | When Channel Export plugin is installed and enabled, an active “Export Incident Channel” link and icon is available in the incident details view as an active link |
| Pass |
44 | When Channel Export plugin is installed and enabled, hovering over the “Export Incident Channel” link shows a message that the action will download the channel content | Continue from the above test.
| N/A | I think I added this on my own for consistency, but is this valid? |
45 | A system admin can export the incident channel the admin is a member of by clicking “Export Incident Channel” link |
| Pass | The features of the Channel Export plugin were tested in Test Plan - Channel Export v0.0.1 |
46 | A system admin can export the incident channel the admin is NOT a member of by clicking “Export Incident Channel” link |
|
Fail | |||
47 | An incident member can export the incident channel by clicking “Export Incident Channel” link |
| Pass |
48 | The exported csv file captures the |
contents of the incident channel |
| Pass | This feature was tested in Test Plan - Channel Export v0.0.1 |
49 | “Export Incident Channel” button is inactive for non-incident user |
|
N/A | ||||
50 | A non-incident user sees a “no access” message upon hovering on the “Export Incident Channel” button | Continue from the above test.
| N/A | Don’t think this test is valid anymore since a non-member cannot see the summary at all in the backstage. Can someone confirm? |
51 | Exporting an ended incident channel from backstage exports the |
|
Pass | ||||
52 | Non-member cannot export an ended incident channel |
| N/A | Same as #47. Don’t think this test is valid anymore since a non-member cannot see the summary at all in the backstage. Can someone please confirm? |
53 |
Once the Channel Export plugin is disabled, the “Export Incident Channel” link |
Switch to a dark theme.
Verify that the “Export Incident Channel” is visible according to the theme.
51
Verify the appearance of the “Export Incident Channel” link and icon appear in light theme
Switch to a light theme.
Verify that the “Export Incident Channel” is visible according to the theme.
should deactivate again |
| Fail | |
54 | Verify the appearance of the “Export Incident Channel” link and icon appear in |
dark theme |
|
|
https://mattermost.atlassian.net
Fail |
Test Area - Measure
As a user, I can see a summary of the following on incident detail page so that I can get the gist at a glance:
Channel, start time, end time, duration, commander, number of people in the channel
55 | Verify the appearance of the “Export Incident Channel” link and icon appear in light theme |
| Pass | |
56 | Verify the appearance of the “Export Incident Channel” link and icon appear in other themes |
| Fail |
Test ID
Test Case
Test Procedure
Result
Notes
53
User cannot view incident summary if the user is not an incident member
Create an incident as user-B.
Do not add user-A to the incident channel.
Log in as user-A.
Launch the incident backstage.
Find the incident from step 1.
Click on the incident.
Verify that user-A is not taken to the incident’s summary page.
As the incident commander, I receive an incident summary and a link to more info after ending an incident so that I know where to go for post-mortem. | ||||
Test Area - Measure As a user, I can see a summary of the following on incident detail page so that I can get the gist at a glance:
| ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
57 | User cannot view incident summary if the user is not an incident member |
| Pass | Is this test case correct since we’re limiting a non-user’s access to the incident summary. |
58 | From the incidents list in the backstage, user can navigate to incident summary upon clicking the incident name of an active incident if the user is an incident member |
| Pass |
59 | From the incidents list in the backstage, user can navigate to incident summary upon clicking the incident name of an inactive incident |
| Pass |
60 | Incident summary page displays the incident name as the page heading | Continue from the above test.
|
Pass | |||
61 | Incident summary page has a “<“ button that brings a user back to the incidents list view | Continue from the above test.
| Pass |
62 | Incident summary page bears a link to the incident channel | Continue from the above test.
| Pass |
63 | Hovering on the incident channel link shows a tooltip suggesting that it’s a shortcut to the incident channel | Continue from the above test.
|
Pass | |||
64 | Clicking on incident channel link of active incidents brings the user to the incident channel | Continue from the above test.
| Pass |
65 | Clicking on incident channel link of inactive incidents, when |
| N/A |
66 | Clicking on incident channel link of inactive incidents, when | N/A | ??? Should the link be inactive and in greyscale if false? |
67 | Incident summary shows the current status of the incident |
| Pass |
68 | Incident summary shows the current commander of the incident |
| Pass |
69 | For active incidents, incident summary shows the duration of how long the incident has been active for |
| Pass |
70 | For inactive incidents, incident summary shows the duration of how long the incident remained active for before the incident ended |
| Pass |
71 | For active incidents, incident summary shows the current number of members in the incident channel | Continue from the above test.
| Pass |
72 | For an inactive incident, incident summary shows the number of |
members in the incident channel when the incident was ended | Continue from the above test.
|
??? This will need to be tested once the channel-archive-on-ending feature is finalized | ||
73 | For active incident, incident summary shows the total number of messages in the incident channel |
|
70
What counts as a message? Do bot messages count? In that case, some numbers are not showing up correctly. Why is the first one 2 messages? Shouldn’t it be 1? | ||||
74 | For inactive incident, incident summary shows the total number of messages in the archived channel of the inactive incident | Continue from the above test.
| This will need to be tested once the channel-archive-on-ending feature is finalized |
Test Area - Tests/bugs outside of user stories | |||||
---|---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Ticket | Notes |
75 | Playbook name too long |
76 | Clicking checklist item timestamp should permalink jump to corresponding post |
| Pass | ||
77 | Add a message indicating no checklist items in Incidents RHS | Moved to 0.5 | |||
78 | Display incident checklist timeline graph | Ticket is still open | |||
79 | Support incident list pagination |
|
| Moved to 0.5 | ||||
80 | Support incident list sorting on End Date |
| Moved to 0.5 | ||
81 | Support incident list sorting on Start Date | Continue from the test for “Support incident list sorting on End Date”
| Moved to 0.5 | ||
82 | Omit playbooks table header if empty | Ticket is still open | |||
83 | Reduce in-channel checklist notifications | Pass | |||
84 | Desktop: Channel Export does not download file | Can still repro | |||
85 | Checklist items can be created with empty string | Pass | |||
86 | Filter incidents to active team | Pass | From ticket desc: The incidents list in the backstage currently provides no `teamId` to the server, resulting in the admin seeing incidents across all teams, but non-admins seeing nothing. | ||
87 | Incident list on RHS is empty on Safari | Pass | |||
88 | Playbook can be created with an empty string char | Pass |
Support incident list sorting on End Date
Create a few incidents at varying times.
Launch the incident backstage to view the incident list.
Verify that incidents are listed with the newest one on top by default.
Click “End Date” in the header.
Verify that the incident list is rearranged such that the last one that was ended is now at the top of the list, followed by other ‘Ended’ incidents in descending order of the time the incidents were ended, followed by the ‘Ongoing’ incidents (descending order of creation?)
Verify that all other incident info are still associated with the incidents correctly.
Click “End Date” again.
Verify that the incident list is rearranged such that the first incident to end is now at the top of the list, followed by other ‘Ended’ incidents in ascending order of the time the incidents were ended, followed by the ‘Ongoing’ incidents (ascending order of creation?).
89 | IR: Playbook with empty name is created |
Observed: Playbook is created with an empty name. | Pass |
Support incident list sorting on Start Date
Continue from the test for “Support incident list sorting on End Date”
Click “Start Date” in the header.
Verify that the incident list is rearranged such that the first incident to get created is now at the top of the list, followed by other incidents (ongoing or ended) in ascending order of the time the incidents were created.
90 |
|
Duplicate of https://mattermost.atlassian.net/browse/MM-25257 | |||
91 | Long incident name pushes the components of the header outside the normal view |
92 | Clicking checklist item timestamp when viewing the "item checked" post in incident channel reloads the page |
93 |
...
IR (v0.4.0) Bugs:
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|