...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Document version 1.
...
1
Status:
...
Test Completed
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 05/14 |
0.1 | Initial review from the team | 06/15 |
1.0 | Test run for 0.5 complete | 07/2324 |
1.1 | Test doc cleaned up | 07/27 |
References
...
The tests outlined in this document is to be executed against the Incident Response plugin v0.45.0.
This version of the plugin can be installed and used in Mattermost instances that aren’t equipped with any enterprise license.
The Incident Response plugin can function as a standalone plugin that does not require to talk to any other plugin.
This version of the Incident Response plugin will function properly only in the latest version of Mattermost.
The tests will be executed in the latest version of Mattermost.
Testing is primarily done on the webapp, with spot checks on the desktop app, RN mobile app and mobile web browser app.
The tests in this document are executed as a normal user (see glossary above) unless otherwise specified.
The test cases that pass for a normal user will also pass for a system administrator.
Plugin uploads is enabled in server instance
“EnableUploads” option under “PluginSettings” in mattermost-server’s config.json is set to 'true'.
The channel export feature defined in the user story is dependent on the existence of the Channel Export plugin being installed and enabled in the test server.
Private channels cannot be converted into public channel, hence private incidents cannot be converted to public incidents.
...
Test Area - Limit incident access to only participants As an incident participant, I can make an incident and its channel private so that non-participants don’t know it exists let alone access its content. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes | ||||||||
14 | Incident cannot be created without selecting a playbook |
| PassPass | |||||||||
15 | User can make a public incident |
| Pass | #7 is a bug. Fixed in master with https://github.com/mattermost/mattermost-plugin-incident-response/pull/219 | ||||||||
16 | User can make a private incident |
| Pass | |||||||||
17 | Converting a public incident channel into private, makes the incident private |
| PassPass | |||||||||
18 | Non participant cannot access a previously public incident converted to a private incident | Continue the test from above.
| Pass | |||||||||
19 | Non participant cannot access a new private incident |
| Pass | |||||||||
20 | Private incidents cannot be searched in backstage by non-participants. | Continue from the above test.
| PassPass | |||||||||
21 | Public incidents are visible only within the incident’s team |
| PassPass | |||||||||
22 | Private incidents are visible only within the incident’s team |
| PassPass | |||||||||
23 | Public incidents cannot be searched in a different team’s incident backstage |
| PassPass | |||||||||
24 |
| System administrator cannot see a private incident |
| add checklist items to Pub C.N/A | Invalid - user has to be added to the IR channel to be able to launch anything about the incident in the RHS. | 25 |
| Pass | Won’t see private channel, but if permalink known, can simply browse to channel and self-join. | |||
25 | System administrator can join a private incident | Continue from the above test.
| user 2, go to Team Y.View Pub C’s details on the RHS
| the checklist items are greyed out (inactive).N/A | Need to find out more about the mechanism to view the incident details on RHS if the details view is going to be tightly coupled with the channel view. | 26 | Non participant cannot view private incident details in RHS | N/A | Is this test case correct? Non-participant can’t see private channels. | |||
27 | System administrator cannot see a private incident |
| Pass | Won’t see private channel, but if permalink known, can simply browse to channel and self-join. | ||||||||
28 | System administrator can join
| Pass | Won’t be in LHS, but definitely can join channel with permalink. | |||||||||
26 | System administrator can view a private incident details | Continue from the above test.
| Pass | |||||||||
27 | System administrator can check and uncheck items in private incidents | Continue from the above test.
| Pass | |||||||||
28 | System administrator can end a private incident | Continue from the above test.
| Pass | Won’t be in LHS, but definitely can join channel with permalink. | 29 | System administrator can view a private incident details | Continue from the above test.
| Pass | 30 | System
| Pass | |
29 | Team administrator cannot see a private incident |
| Pass | Team admins can’t see a private incident. Test changed from can to cannot. | ||||||||
30 | Team administrator can check and uncheck items in private incidents | Continue from the above test.
| Pass | Team admins can’t see a private incident. Invalid test. | ||||||||
31 | System Team administrator can add and remove checklist items in end a private incident | Continue from the above test.
| N/A | Can’t add/remove/edit checklist item now that the RHS is immutable. | 32 | System administrator can end a private incident | Continue from the above test.
| Pass | ||||
33 | Team administrator cannot see a private incident |
| Pass | Team admins can’t see a private incident. Test changed from can to cannot. | ||||||||
34 | Team administrator can join a private incident | Continue from the above test.
| N/A | Team admins can’t see a private incident. Invalid test. | ||||||||
35 | Team administrator can view a private incident details | Continue from the above test.
| N/A | Team admins can’t see a private incident. Invalid test. | ||||||||
36 | Team administrator can check and uncheck items in private incidents | Continue from the above test.
| Pass | Team admins can’t see a private incident. Invalid test. | ||||||||
37 | Team administrator can add and remove checklist items in a private incident | Continue from the above test.
| N/A | RHS is now immutable. Invalid test. | ||||||||
38 | Team administrator can end a private incident | Continue from the above test.
| Pass |
| Pass |
Test Area - Configure playbooks to create public/private incidents As an incident manager, I can configure playbooks to create either public or private incidents so that it defaults to the correct permission when executed. | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
32 | Playbook can be configured to create a public incident |
| Pass | |
33 | Playbook can be configured to create a private incident |
| Pass | |
34 | Playbook can be edited to change public incident creation setting to private | Continue from the above tests.
| Pass | |
35 | Playbook can be edited to change private incident creation setting to public | Continue from the above tests.
| Pass |
Test Area - Prioritize incidents that the user is a participant of As an incident participant, I can easily tell apart the incidents that are relevant to me so that it’s I can get there more quickly. | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes | |||||||||||
39 | Playbook can be configured to create a public incident36 | Incidents in backstage will be listed in priority order |
| team admin.Pass | 40 | Playbook can be configured to create a private incident |
| 41 | Playbook can be edited to change public incident creation setting to private | Continue from the above tests.
| Pass | 42 | Playbook can be edited to change private incident creation setting to public | Continue from the above tests.
| Pass |
Test Area - Prioritize incidents that the user is a participant of As an incident participant, I can easily tell apart the incidents that are relevant to me so that it’s I can get there more quickly. | |||||||||||||||
Test ID | Test Case | Test Procedure | Result | Notes | |||||||||||
43 | Incidents in backstage will be listed in priority order |
| N/A | Is the order correct in step 6 and 10? Prioritizing incident was for RHS incident list. Since incident list is removed from the RHS, this test is invalid. | Effect of search on priority ordering in backstage | N/A | Effect of sorting on priority ordering in backstage | N/A | Effect on LHS channel order for priority ordering | N/A | |||||
Test Area - Limit the ability to create playbooks to Team Administrators As a system administrator, I can restrict who can create playbooks so that the incident response process can be better standardized. | |||||||||||||||
Test ID | Test Case | Test Procedure | Result | Notes | 44 | System administrator can create a public incident playbook |
| Pass | 45 | System administrator can create a private playbook |
| #4 correct? | 46 | Team admin can create a public playbook |
| #4 correct? | 47 | Team admin can create a private playbook |
| #4 correct? |
48 | A non-admin user cannot create a playbook |
| N/A | Is #3 correct? | 49 |
| N/A due to the test above this one. Is this correct? | 50 | A playbook is initially only visible to playbook creator |
==========
| Pass | 51 | Private playbook is only available within the team it was created in |
| N/A | 52 | Public playbook is visible to all the members of a team |
| N/A | 53 | Public playbook can be edited by member user of the team | Continue from the above tests.
| N/A | 54 | Team member can “invite” other team members to manage playbook | dupe of 61 | 55 | Team member can create an incident using public playbook | Continue from the above test.
| N/A | 56 | Public playbook can be deleted by team member |
| N/A |
57 | Private playbook cannot be edited by a non-admin team member |
| N/A | Using a direct PUT to test here because the user will not be able to find the private playbook in the UI. | |||||||||||
58 | Private playbook cannot be deleted by
| N/A | Is the order correct in step 6 and 10? Prioritizing incident was for RHS incident list. Since incident list is removed from the RHS, this test is invalid. |
Test Area - Limit the ability to create playbooks to Team Administrators As a system administrator, I can restrict who can create playbooks so that the incident response process can be better standardized. | |||||||
---|---|---|---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes | |||
37 | System administrator can create a public incident playbook |
| Pass | ||||
38 | System administrator can create a private incident playbook |
| Pass | ||||
39 | Team admin can create a public-incident playbook |
| Pass | ||||
40 | Team admin can create a private-incident playbook |
| Pass | ||||
41 | A playbook is initially only visible to playbook creator |
| Pass | ||||
42 | Private playbook cannot be deleted by non-participating member user of the team | Continue from the above test.
| 59 | Non-admin team member cannot “invite” other team members to manage private playbook | Continue from the above test.
| Pass |
Test Area - Limit playbook access to specific users As a playbook creator, I can specify who else can see and edit the playbook so that sensitive content wouldn’t be unintentionally revealed. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes | ||||||||
43 | Users who have access to a playbook can limit playbook access to specific users |
| can edit the playbook.As user-1 try inviting user-2 to manage the playbook
| invite
| to manage the playbook.N/A | 60 |
| Covered by #45 | ||||
Test Area - Limit playbook access to specific users As a playbook creator, I can specify who else can see and edit the playbook so that sensitive content wouldn’t be unintentionally revealed. | ||||||||||||
Test ID | Test Case | Test Procedure | Result | Notes | ||||||||
61 | Users who have access to a playbook limit playbook access to specific users |
| Pass | |||||||||
44 | Any playbook member can edit users who have access to playbook | Continue from the above test. | 62 |
| Continue from the above test.
| Pass | 63 | User removed by a playbook member
| Pass |
| Pass | |
45 | User removed by any member of a playbook can no longer access playbook | Continue from the above test.
| Pass | |||||||||
6446 | Playbook member can limit playbook access to specific users |
| Pass | |||||||||
6547 | Playbook member can edit users who have access to playbook | Continue from the above test.
| Pass | |||||||||
6648 | User removed by system admin can no longer access playbook | Continue from the above test.
| Pass | |||||||||
Pass49 | Last playbook member cannot be removed from the playbook |
| Pass |
Test Area - UI | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
6750 | Test UI in light theme |
| Pass | |
6851 | Test UI in dark theme |
| Done | Bugs filed for dark themes. |
6952 | Test UI in Monokai theme |
| Done | Bugs filed |
Test Area - Tests/bugs outside of user stories | |||||
---|---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Tickets | Notes |
7053 | Channel is archived when ending an incident with slash command |
| N/A | Moved from 0.5 Ticket is still open: https://mattermost.atlassian.net/browse/MM-24408 | |
7154 | Channel is archived when ending an incident from RHS |
| N/A | Moved from 0.5 | |
7255 | The incident channel shows up under archived channel once the incident is ended |
| N/A | Moved from 0.5 | |
7356 | Incident channels do not appear in LHS when archived channel display is turned off |
| N/A | Moved from 0.5 | |
7457 | Add a message indicating no checklist items in Incidents RHS |
| N/A | Moved from 0.4 Ticket closed as won’t fix. | |
7558 | Support incident list pagination |
| Pass | Moved from 0.4 | |
7659 | Support incident list sorting on End Date |
| Pass | Moved from 0.4 | |
7760 | Support incident list sorting on Start Date | Continue from the test for “Support incident list sorting on End Date”
| Pass | Moved from 0.4 | |
61 | “Create a playbook” link in Incident Details modal links to New Playbook page in backstagePass | Pass |
...
IR (v0.5.0) Bugs:
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|