Document version 0.2
Status: Testing IR plugin v0.2.0 in progress…
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 04/14 |
0.1 |
| 04/16 |
0.2 | Tests updated to reflect realtime checklist item editing. | 04/17 |
1.0 | 0/17 |
Summary
This document details the tests for Incident Response plugin v0.2.0. The tests are derived from the user stories in Incident Responseoverview.
The Test Areas in this document are arranged based on the vertical columns of the user storyboard.
The plugin will be available (see assumption) for Mattermost version starting 5.12 and up. This test plan consists of test cases to be run on Mattermost server version 5.22; however a subset of smoke tests will be executed on server versions 5.12, 5.14, 5.16, 5.18 and 5.20.
The tests in this document, together with the tests for other versions of the Incident Response plugin will be migrated to TM4J, upon the major plugin feature completion.
Scope
This test plan covers the tests for the user stories as outlined in the Incident Response MVP Overview for v0.2.0 and excludes tests for any other plugin version.
While some tests in this document also cover the bugs and stories resolved for the plugin v0.1.0, the tests for most bugs found during v0.1.0 testing are maintained in Test Plan - Incident Response v0.1.0.
Glossary remains the same as defined in Test Plan - Incident Response v0.1.0
Assumptions
The tests outlined in this document is to be executed against the Incident Response plugin v0.2.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.
Some details in the test procedures have been omitted to reduce the redundancy in test steps if they are clear enough and extensively covered in the test plan for v0.1.0.
Test Setup
The following setup will be necessary in order to begin testing:
A Mattermost v5.22 test server.
The test server is equipped with an E10 license for the plugin to be installed.
Incident Plugin v0.2.0.
Tests
Test Server: https://wf-test-te.test.mattermost.cloud/
Build Hash: 64922547a34fed47c045cc14273a8f86f0c1b9fa
Test Date: 04/17/2020
Test Area - Plugin Setup | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
1 | Admin can install plugin in a non-EE instance |
| Pass | Plugin is Enabled by default |
2 | Admin can install plugin in an E10 instance |
| ||
3 | Admin can install plugin in an E20 instance |
| ||
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 | UI funkyness |
8 | Admin can remove plugin |
| Pass |
For the next set of tests, begin with the following steps:
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 | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
9 | User is taken to incident channel after starting an incident |
| ||
10 | In RN mobile app, user is notified with an ephemeral message with link to the incident channel |
| ||
11 | A newly started incident does not have any checklist item |
| ||
12 | Commander can create a checklist for an incident started by them |
| ||
13 | Commander can create a checklist for an incident from a channel different from the incident channel |
| ||
14 | Checklist item creation can be cancelled with the Esc key |
| ||
15 | Commander can remove checklist item from an incident started by them |
| ||
16 | Checklist item can be removed from a different channel than the incident channel |
| ||
17 | User can see checklist in RHS for active incidents |
| ||
18 | User can access read-only incident checklist even if user is not an incident channel member |
| ||
19 | User cannot add checklist item to a new incident started by a different user if user is not added to the incident channel |
| ||
20 | User cannot add items to a checklist, with existing items, for an incident started by a different user if user is not added to the incident channel |
| ||
21 | User cannot remove checklist item from an incident started by a different user if user is not added to the incident channel |
| ||
22 | User can add checklist item to a new incident started by a different user once added to the incident channel |
| ||
23 | User can add items to a checklist, with existing items, for an incident started by a different user once added to the incident channel |
| ||
24 | User can edit the checklist item for an incident started by a different user once added to the incident channel |
| ||
25 | User can move items around in the checklist once added to the incident channel |
| ||
26 | User can remove item added by different user once added to the incident channel. |
| ||
27 | Checklist item added reflects accurately for user not added to incident channel |
| ||
28 | Checklist item edited reflects accurately for user not added to incident channel | Continue from the above test.
| ||
29 | Checklist item rearranged reflects accurately for user not added to incident channel | Continue from the above test.
| ||
30 | Checklist item removed reflects accurately for user not added to incident channel | Continue from the above test.
| ||
31 | Checklist changes reflect accurately for a different user added to incident channel |
| ||
32 | Checklist can be added by 2 users at the same time when they are both incident channel members |
| ||
33 | Checklist can be edited by 2 users at the same time when they are both incident channel members | Continue from the above test.
|
Test Area - Coordinate | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
34 | Commander can check off items in incident checklist |
| ||
35 | Commander can uncheck items in incident checklist |
| ||
36 | Non-commander who is not added to incident channel cannot check off items in incident checklist |
| ||
37 | Non-commander who is not added to incident channel cannot uncheck items in incident checklist |
| ||
38 | Non-commander user, who is added to the incident channel, can check off items in incident checklist |
| ||
39 | Non-commander user, who is added to the incident channel, can uncheck items |
| ||
40 | Non-commander user, who is added to the incident channel, can uncheck items checked off by the commander |
| ||
41 | Ending an incident shows a confirmation modal |
| ||
42 | Commander can end incident | Continue from the above test:
(Incident end verifications in Test Plan - Incident Response v0.1.0 ) | ||
43 | Non-commander |
| Fix from 0.1.0 | |
44 | Non-commander |
| ||
45 | Incident cannot be ended from outside the incident channel |
|
Test Area - Measure | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
46 | A bot message is posted in incident channel when an item is added to an incident checklist |
| ||
47 | “Item added to incident checklist” post in incident channel shows the username of user who added the item | Continue from the above test:
| ||
48 | A bot message is posted in incident channel when an item in checklist is checked |
| ||
49 | “Item checked” post in incident channel shows the username of user who checked the item | Continue from the above test:
| ||
50 | Checking an item shows the timestamp to the right of the checklist item of when the item was checked off | Continue from the above test:
| ||
51 | A bot message is posted in incident channel when an item in checklist is unchecked |
| ||
52 | “Item checked” post in incident channel shows the username of user who unchecked the item | Continue from the above test:
| ||
53 | A bot message is posted in incident channel when an item is removed from an incident checklist |
| ||
54 | “Item removed from incident checklist” post in incident channel shows the username of who removed the item | Continue from the above test:
| ||
55 | “Item removed from incident checklist” post in incident channel shows the timestamp of when the item was removed | Continue from the above test:
| ||
56 | Starting a next incident will start with empty checklist |
|
Smoke tests for server versions 5.12, 5.14, 5.16, 5.18 and 5.20
Subset of tests to run on different server versions, mobile app and mobile browser
Installation
Enabling the plugin
Disabling the plugin
Starting an incident
Viewing an incident
Ending an incident