...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Status: Test development in progress
...
Document Version
Document version 1.1
Status: Test Completed
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 05/14 |
0.1Test | Initial review from the team | 06/15 |
1.0 | Test run for 0.5 complete | 07/24 |
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.
...
A Mattermost v5.23 test server.
The test server is equipped with an E10 license for the plugin to be installed.
Incident Plugin v0.5.0.
Channel Export Plugin v0.2
Test Server: https://ir-test-alpha-6.test.mattermost.cloud/login
Test Server (upgrade tests): https://ir-upgrade-test.test.mattermost.cloud
Build Hash: ed34468996e6906003c9b3cab0d21ac121ec553f
EE Build Hash: 9547727aa1779259a9dcd847c81e4c29a0db0845
Webapp Build Hash: b8a75b515bd4646d2084da2c72d12588b233ded5
Test Date: 07/23/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.5 |
| Pass | ||
10 | Plugin upgrades normally from v0.4 to v0.5 |
| Pass |
| |
11 |
|
|
| N/A | Not valid for upgrade to 0.5 |
12 |
|
|
| N/A | Not valid for upgrade to 0.5 |
13 |
|
| N/A | Not valid for upgrade to 0.5 |
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 is public by default |
| #7: RHS incident list may go away.
| Pass | ||||||||||||||||
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 |
| #9: RHS incident list may go away. | Pass | ||||||||||||||||
17 | Converting a public incident channel into private, makes the incident private |
| Pass | |||||||||||||||||
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.
| Pass | |||||||||||||||||
21 | Public incidents are visible only within the incident’s team |
| Pass | |||||||||||||||||
22 | Private incidents are visible only within the incident’s team |
| Pass | |||||||||||||||||
23 | Public incidents cannot be searched in a different team’s incident backstage |
| Pass | |||||||||||||||||
24 | Non participants can view public incident details in RHS | System administrator cannot see a private incident |
| add
| to Pub C25 | Non participants cannot edit incident details in RHS of a public incident unless added as the incident channel’s member
|
| 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.
| 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.
| user 2, go to Team Y.View Pub C’s details on the RHS
| the checklist items are greyed out (inactive).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 | Is this test case correct. Non-participant can’t see private channels. | 27 | System administrator can see a private incident |
| 28 | System administrator can join a private incident | Continue from the above test.
| 29 | System administrator can view a private incident details
| 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.
| 30 | System administrator can check and uncheck items in private incidents | Continue from the above test.
| 31 | System administrator can add and remove checklist items in a private incident | Continue from the above test.
| 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.
| 32 | System Pass | Team admins can’t see a private incident. Invalid test. | |||||||||||||||
31 | Team administrator can end a private incident | Continue from the above test.
| 33 | Team administrator can see a private incident |
| 34 | Team administrator can join a private incident | Continue from the above test.
| 35 | Team administrator can view a private incident details | Continue from the above test.
| 36 | Team administrator can check and uncheck items in private incidents | Continue from the above test.
| 37 | Team administrator can add and remove checklist items in a private incident | Continue from the above test.
| 38 | Team administrator can end a private incident | Continue from the above test.
|
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 | ||||||||||||||||
39 | Playbook can be configured to create a public incident | 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.
| 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.
| 42 | Playbook can be edited to change private incident creation setting to public | Continue from the above tests.
| |||||||||||||||||||||||||||||||
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 |
| Is the order correct in step 6 and 10? | ||||||||||||||||||||||||||||||||||
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 playbook |
| Is step #4 correct? | 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 |
| Is #3 correct? | 49 |
| N/A due to the test above this one. Is this correct? | 50 | Private playbook is initially only visible to playbook creator |
| Are steps 13-18 correct? Are private playbooks visible to/accessible by system admins? Or do they need to be invited to the playbook to access them as well? | 51 | Private playbook is only available within the team it was created in |
| 52 | Public playbook is visible to all the members of a team |
| 53 | Public playbook can be edited by member user of the team | Continue from the above tests.
| 54 | Team member can “invite” other team members to manage public playbook | Not sure about steps to invite other members to manage playbook. | 55 | Team member can create an incident using public playbook | Continue from the above testPass |
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 |
36 | 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. |
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 | Public playbook can be deleted by team member
| 56 |
| Pass | |||||||||
42 | Private playbook cannot be deleted by non-participating member user of the team | Continue from the above test. | 58 | Private playbook cannot be deleted by member user of the team | Continue from the above test.
| 59 | Non-admin team member cannot “invite” other team members to manage private
| 57 | Private playbook cannot be edited by a non-admin team member |
| Using a direct PUT to test here because the user will not be able to find the private playbook in the UI. |
| 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 |
| Pass | |||||||
44 | Any playbook member can edit users who have access to playbook | Continue from the above test. | Log in as
| PB 4”
| Log in as user-1
| edit the playbook.As user-1 try inviting user-2 to manage the playbook
| cannot invite user-2 to manage
| 60 | Non-admin team member cannot create an incident using private playbook if not invited to manage
| 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 | Team admin can limit playbook access to specific users |
| Pass | |||||||
45 | User removed by any member of a playbook can no longer access playbook | Continue from the above test.
| Pass | |||||||
6246 | Team admin can edit users who have Playbook member can limit playbook access to playbook Continue from the above test. As team admin, launch playbook backstage. Find “TA 1”. specific users |
| 63 | User removed by team admin can no longer access playbook | Continue from the above test.
| Pass | ||||
6447 | System admin can limit playbook access to specific users | Log in as team admin. Create a playbook “Sa 1”. Playbook member can edit users who have access to playbook | Continue from the above test.
| Pass | ||||||
48 | User removed by system admin can no longer access playbook | Continue from the above test.
| 65 | System admin can edit users who have access to playbook | Pass | |||||
49 | Last playbook member cannot be removed from the playbook |
| 66 | User removed by system admin can no longer access playbook | Continue from the above test.
| 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. |
52 | 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.471.5 Ticket is still open: https://mattermost.atlassian.net/browse/MM-24408 | ||
54 | Channel is archived when ending an incident from RHS |
| N/A | Moved from 0.45 | ||
7255 | The incident channel shows up under archived channel once the incident is ended |
| N/A | Moved from 0.45 | ||
7356 | Incident channels do not appear in LHS when archived channel display is turned off |
| N/A | Moved from 0.45 | ||
7457 | Add a message indicating no checklist items in Incidents RHS |
| N/A | Moved from 0.4 | 75Ticket closed as won’t fix. | |
58 | 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 backstage | Pass |
...
IR (v0.5.0) Bugs:
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|