Test Plan - Incident Response v0.4.0
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.
Scope
This document covers the cases for the user stories as outlined in the Incident Response MVP Overview for v.0.4.0 of the plugin only. v0.4.0 includes features that works in conjunction with the Channel Export plugin, the tests for which as a stand-alone plugin have been covered in the test plan for the plugin (see reference above). Thus, the tests in this document will validate the channel export features that are tied to the Incident Response plugin.
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.
Ongoing incident - Same as Active Incident.
Inactive incident - An incident that has been ended.
Incident RHS - The RHS sidebar that opens upon clicking the incident response icon and displays incidents.
Incident Backstage - The backstage view that shows the incident list.
Playbook Backstage - The backstage view that shows the playbook list.
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.4.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.23.
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.
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:
Mattermost v5.23 test server: https://ir-test-523.test.mattermost.cloud/
Build Hash: ed1576d007a09b07574b18784b9eabb3d8c9db53
The test server is equipped with an E20 license for the plugin to be installed.
Incident Plugin v0.4.0: plugin-incident-response-0.4.0-alpha.2
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 | MM-25403: The backstage page sometimes renders wider than normalClosed |
10 | Incidents started with older plugin version are still active and available in v0.4 |
| 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 | MM-24555: List past and current incidents within the teamClosed |
23 | The incident list in the backstage shows all inactive incidents that belong to the current team only |
| Pass | MM-24555: List past and current incidents within the teamClosed |
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 | MM-25391: Incident names in the backstage list view render as normal text instead of linksClosed |
30 | Long incident name wraps in the “Name” column displaying the entire incident name |
| Fail | MM-25392: Long incident names will overflow into other column in backstageClosed |
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 |
| 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 |
| 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.
| Pass |
|
37 | When Channel Export plugin is installed in an instance with no EE license, the “Export Incident Channel” link is inactive |
|