Test Plan - Incident Response v0.3.0
Document version 1.0
Status: TESTS DONE
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 04/23 |
0.1 | Updated with feedbacks | 04/29 |
0.2 | Added test 60 | 04/30 |
0.3 | Test in progress | 05/01 |
1.0 | Tests done | 05/01 |
References
Incident Response User Stories
Epic - MM-24007: Playbooks (Incident Response)Closed
v0.3.0 tickets - https://mattermost.atlassian.net/issues/?jql=project%20%3D%20MM%20AND%20fixVersion%20%3D%20%22IR%20(v0.3.0)%22
Summary
This document details the tests for Incident Response plugin v0.3.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 beginning from v0.1.0.
For tests for v0.1.0 and 0.2.0 see Test Plan - Incident Response v0.1.0 andTest Plan - Incident Response v0.2.0
Scope
This document covers the cases for the user stories as outlined in the Incident Response MVP Overview for v.0.3.0 of the plugin only.
Glossary
Admin - A user with system administrator privileges.
Normal user - A user with non-system administrator privileges.
Test Server - A list of test server versions used in testing including Mattermost server and Marketplace Server
Main menu - Hamburger menu on the LHS.
Incident Response icon - The Incident Response plugin icon that appears on the channel header
Commander - The user who owns an incident. The user who starts the incident is designated the commander by default.
Incident member/incident channel member - A user who has been added to the incident channel.
Non-incident user - A user who has not been added to the incident channel.
Active incident - An incident that has not been ended.
Incident RHS - The RHS sidebar that opens upon clicking the incident response icon and displays incidents.
Assumptions
The tests in this test plans are written with the assumption that:
The tests outlined in this document is to be executed against the Incident Response plugin v0.3.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.
The Incident Response plugin will function in Mattermost version 5.12 and later
The tests will be executed in Mattermost version 5.22.
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'.
Setup
Document Setup
For the practicality of running tests easily, test cases are arranged in sequential order when necessary, following the preceding test case.
Test Setup
The following setup will be necessary in order to begin testing:
A Mattermost v5.22 v5.23 test server.
The test server is equipped with an E10 license for the plugin to be installed.
Incident Plugin v0.1.0.
Test Server: https://ir-plugin-test.test.mattermost.cloud/
Test Server (upgrade tests): https://new-522.test.mattermost.cloud/ (MM v5.22)
Build Hash: 9eb7df6bd99afe64cc706d32619c7149282cbe7e
Test Date: 05/01/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 | Tested on local. Installed from beta marketplace at https://api.private-beta.integrations.mattermost.com/ |
2 | Admin can install plugin in an E10 instance |
| Pass | Tested on local. Installed from beta marketplace at https://api.private-beta.integrations.mattermost.com/ |
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.2.3 to v0.3 |
| ! | Tested on https://new-522.test.mattermost.cloud/ Upgrading from v0.2 to v0.3 causes the RHS to go blank MM-24751: Upgrading the plugin from 0.2 to 0.3 changes the incident list to a blank RHSClosed |
10 | Incidents started with the older plugin version is still active and available in v0.3 |
| Pass |
|
11 | Incidents ended with plugin v0.2 are not available in v0.3 |
| 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 non-member of the incident channel, I’m prompted to contact the commander if I want to join. | ||||
Test ID | Test Case | Test Procedure | Result | Notes |
---|---|---|---|---|
12 | Non-incident member can’t see incident channel listed in incident details RHS |
| Pass |
|
13 | A non-incident member viewing incident details on incident RHS sees a message to contact the commander to participate in the incident | Continue from the above test.
| Pass |
|
14 | ‘Contact commander’ message on incident details view on RHS shows the correct commander | Continue from the above test.
| Pass |
|
15 | A non-incident member cannot end an incident | Continue from the above test.
| Pass |
|
16 | If already channel member, contact commander message is not shown | Continue from the above test.
| Pass |
|
17 | A non-commander channel member can end an incident | Continue from the above test.
| Pass |
|
18 | Playbook icon is present in Incident RHS header |
| Pass |
|
19 | Add a tooltip for the plus icon (New Incident) in the RHS |
| Pass | |
20 | Add a tooltip for the book icon (Playbooks) in the RHS |
| Pass |
Test Area - Coordinate
| ||||
Test ID | Test Case | Test Procedure | Result | Notes |
---|---|---|---|---|
21 | Clicking on the Playbook icon brings user to the Playbooks backstage |
| Pass |
|
22 | “Playbook” is highlighted in backstage when user is brought there after clicking playbook icon | Continue from the above test.
| Pass |
|
23 | When no playbook exists, the backstage shows “there are no playbooks defined yet” |
| Pass |
|
24 | Clicking on New Playbook icon lets user add playbook name and checklist items | Continue from the above test.
| Pass |
|
25 | Canceling new playbook does not save the playbook | Continue from the above test.
| Pass |
|
26 | New Playbook > Cancel > Discard Changes on confirmation dialog does not save playbook | Exits out of New Playbook view | Pass |
|
27 | New Playbook > Cancel > Cancel does not | Does not exit out of New Playbook view | Pass |
|
28 | Clicking on “ ← Back to Mattermost” brings user back to normal channel | Continue from the above test.
| Pass |
|
29 | Incident creation dialog shows playbook option |
| Pass |
|
30 | Not selecting any option from Playbook dropdown allows for a new incident creation | Continue from the above test.
| Pass |
|
31 | “Playbook” in incident start modal only has “None” in dropdown when there is no playbook |
| Pass |
|
32 | Selecting “None” from Playbook dropdown does not create any playbook | Continue from the above test.
| Pass |
|
33 | A new playbook can be saved from the Playbook backstage | Continue from the above test.
| Pass |
|
34 | A playbook can be edited from the Playbook backstage | Continue from the above test.
| Pass |
|
35 | Playbooks created from backstage show up on the incident creation interactive dialog’s Playbook dropdown | Continue from the above test.
| Pass |
|
36 | Selecting predefined playbook auto-populates an incident’s checklist | Continue from the above test.
| Pass |
|
37 | Checklist edited on incident RHS does not change the playbook checklist on backstage | Continue from the above test.
| Pass |
|
38 | Checklist edited on backstage reflects properly during incident creation | Continue from the above test.
| Pass |
|
39 | Checklist edited on backstage does not affected previously started incident's checklist | Continue from the above test.
| Pass |
|
40 | A “delete playbook confirmation” dialog pops up when deleting a playbook | Continue from the above test.
| Pass | |
41 | A “delete playbook” can be canceled | Continue from the above test.
| Pass |
|
42 | A playbook can be deleted from the backstage | Continue from the above test.
| Pass |
|
43 | A deleted playbook does not affect previously started incident using that playbook | Continue from the above test.
| Pass |
|
44 | A playbook created in Team X is not visible for Team Y’s incident creation |
| Pass |
|
45 | A playbook created in Team X is not visible in Team Y’s Playbook Backstage |
| Pass |
|
| ||||
46 | A commander can see a dropdown for users under “Commander” in details view |
| Pass |
|
47 | A non-incident member cannot see a dropdown for users under “Commander” in details view | Continue from the above test.
| Pass |
|
48 | An non-commander incident member can see a dropdown for users under “Commander” in details view |
| Pass |
|
49 | Incident channel members are listed in the user dropdown list | Continue from the above test.
| Pass |
|
50 | An incident channel member can be searched by a commander in the user dropdown list | Continue from the above test.
| Pass | Can be searched by username, or full name or nick name. |
51 | A non-incident channel member cannot be searched in the user dropdown list | Continue from the above test.
| Pass |
|
52 | A new user can be designated as a new commander |
| Pass |
|
53 | An incident channel member can edit checklist of the incident |
| Pass |
|
54 | An incident channel member can see a dropdown for users under “Commander” in details view | Continue from the above test.
| Pass |
|
55 | An incident channel member can end an incident | Continue from the above test.
| Pass |
|
56 | A non-incident member cannot see a dropdown for users under “Commander” in details view | Continue from the above test.
| Pass |
|
57 | Old commander cannot edit checklist of the incident if kicked from incident channel |
| Pass |
|
58 | Old commander cannot end an incident if kicked from incident channel | Continue from the above test.
| Pass |
|
Test Area - Measure
| ||||
Test ID | Test Case | Test Procedure | Result | Notes |
---|---|---|---|---|
59 | A bot message is posted to the incident channel when commander is changed. |
| Pass |
|
| ||||
60 | Checklist item displays when the item was checked off |
| Pass |
|
61 | Checklist item displays the latest time when the item was checked off | Continue from the above test.
| Pass |
|
62 | Items checked more than a day ago shows the day along with timestamp of when the item was checked | Continue from the above test.
| Pass | Verified on community-daily |
Test Area - Tests/bugs outside of user stories | ||||
Test ID | Test Case | Test Procedure | Result | Notes |
---|---|---|---|---|
63 | Incident created in one team is visible in another team |
|
| MM-24716: Incident created in one team is visible in another teamClosed |
64 | Incident list on RHS is empty in Safari |
|
| |
65 | User is not always taken to the incident channel after starting an incident |
|
| |
66 | Playbooks deleted in different tab are still available in incident creation modal if the modal was opened before playbook deletion |
|
| |
67 | Clicking on incidents for detailed view causes blank screen |
|
| |
68 | Tab navigation in playbook backstage "Edit Playbook" view highlights the entire checkbox container |
|
| |
69 | Incident icon on the header closes RHS if clicked while viewing reply thread |
|
| MM-24754: Incident icon on the header closes RHS if clicked while viewing reply threadClosed |