Test Plan - Incident Response v0.1.0
Document version 1.0
Status: Tests Completed
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 03/24 |
0.1 |
| 03/25 |
0.2 |
| 03/31 |
1.0 |
| 04/03 |
References
Incident Response User Stories
Summary
This document version 1.0 is the updated version of the test plan for the Incident Response plugin v0.1.0, currently in its implementation phase. The tests in this test plan are derived from the user stories as mentioned in the Incident Response MVP Overview.
When images exist in parallel to assist with the test case, they are placed right below the corresponding test procedure.
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.
Once this document has been reviewed and approved, the test cases will be migrated to the TM4J (Test Management for Jira) for test execution and posterity.
Scope
The test plan covers the cases for the user stories as outlined in the Incident Response MVP Overview for v.0.1.0 of the plugin. As of version 0.1 of this document, there are no tests to cover the features of the `Workflow` plugin. The tests in this document are subject to change depending on the requirement changes, and will be updated in the newer versions as necessary.
This scope will be expanded in the future versions based on what features and functionalities and included the first release version of the 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.
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.1.0.
The Incident Response plugin is an Enterprise Edition plugin that is only available to customers with E10 license.
The Incident Response plugin can function as a standalone plugin that does not require to talk to any other plugin.
If configured, the Incident Response plugin can communicate with the Workflow plugin to create workflows.
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.
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 test server.
The test server is equipped with an E10 license for the plugin to be installed.
Incident Plugin v0.1.0.
Tests
Test Server: http://wf-test-te.test.mattermost.cloud/
Build Hash: 6fef02ed6cdc8e2b2a646e371518051058314b0f
Test Date: 04/03/2020
Test Area - Plugin Setup | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
1 | System administrator can install plugin in an E10 instance |
| Pass |
|
2 | System administrator can install plugin in an E20 instance |
| Pass |
|
3 | System administrator cannot can install plugin in a non-EE instance |
| Pass | Updated this test since the plugin v0.1.0 can be used in a non-EE instance. |
4 | System administrator can enable plugin |
| Pass |
|
5 | System administrator can access the plugin functionality |
| Pass |
|
6 | When no incidents have been started, the Incident Response RHS indicates that there are no incidents |
| Pass |
|
7 | System administrator can start an incident |
| Fail |
MM-23852: Incidents are sometimes failing to start with slash command and RHSClosed |
8 | System administrator can disable plugin |
| Pass |
|
9 | Incident data is preserved even after disabling the plugin |
| Pass |
|
10 | Incident data is not accessible after disabling the plugin |
|
|
|
11 | Plugin functionality is available to normal user |
| 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 - Coordinate | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
12 | Incident Response modal opens when starting an incident with slash command |
| Pass
|
|
13 | Incident Response modal opens when starting an incident from RHS |
| Pass
|
|
14 | Incident Response modal opens when starting an incident from post menu |
| Pass
|
|
15 | Channel Name input box is focused when incident response modal pops up |
| Fail |
|
16 | Incident is started when |
| Fail |
|
17 | Incident creation is cancelled when |
| Pass
|
|
18 | A normal user can start an incident with slash command in a public channel |
| Fail | See test # 7 |
19 | A normal user can start an incident with slash command in a private channel |
| Fail | See test # 7 |
20 | A normal user can start an incident with slash command in a group message |
| Fail | See test # 7 |
21 | A normal user can start an incident with slash command in a direct message |
| Fail | See test # 7 |
22 | A normal user can start an incident with slash command in direct message to self |
| Pass |
|
23 | A normal user can start an incident from RHS in a public channel |
| Pass |
|
24 | A normal user can start an incident from RHS in a private channel |
| Pass |
|
25 | A normal user can start an incident from RHS in a group message channel |
| Fail | MM-23854: Non-admin user cannot start an incident from RHS in GM and DM channelsClosed |
26 | A normal user can start an incident from RHS in a direct message channel |
| Fail | MM-23854: Non-admin user cannot start an incident from RHS in GM and DM channelsClosed |
27 | A normal user can start an incident from RHS in a direct message channel to self |
| Fail | MM-23854: Non-admin user cannot start an incident from RHS in GM and DM channelsClosed |
28 | A normal user can start an incident from a post action menu a public channel |
| Pass |
|
29 | A normal user can start an incident from a post action menu a private channel |
| Pass |
|
30 | A normal user can start an incident from a post action menu a group message |
| Fail | MM-23855: Non-admin user cannot start an incident from post menu in GM and DM channelsClosed |
31 | A normal user can start an incident from a post action menu a direct message |
| Fail | MM-23855: Non-admin user cannot start an incident from post menu in GM and DM channelsClosed |
32 | A normal user can start an incident from a post action menu a direct message to self |
| Fail | MM-23855: Non-admin user cannot start an incident from post menu in GM and DM channelsClosed |
33 | The user who started an incident is assigned/marked as the commander of the incident |
| Pass |
|
34 | A new private channel is created when an incident is started |
| Pass |
|
35 | User who started the incident is auto-invited to the incident channel |
| Pass |
|
36 | The incident channel can be renamed |
| Pass |
|
37 | The incident channel is linked properly when renamed |
| Pass |
|
38 | A normal user can end an incident started by the same user using slash command |
| Pass |
|
39 | A normal user can end an incident started by the same user from RHS |
| Fail
| The |
40 | A normal user can end an incident started by another user |
| Pass |
|
41 | The incident list reloads on RHS when an incident is ended while viewing its details |
| Fail | |
42 | Trying to end an incident that has already been ended shows error message |
| Fail | MM-23859: A closed incident can be closed again from the RHSClosed |
43 | Issuing an |
| Pass |
|
44 | Clicking the Incident Response plugin icon on header toggles the RHS open and close |
| Pass |
|
45 | Clicking on the Incident Response RHS back button takes user back to incident list |
| Pass |
|
46 | An incident channel with an existing channel name cannot be created |
| Resolved | MM-23672: Creating an incident with the same name as a previous incident fails silentlyClosed |
47 | Incident Response RHS shows incidents for respective teams |
| Pass | Duplicate of test # 52 |
Test Area - Monitor | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
48 | An incident appears on the RHS when started without having to refresh the list |
| Pass |
|
49 | An incident disappears from the RHS when ended without having to refresh the list |
| Pass |
|
50 | A normal user can see all the started incidents in RHS |
| Pass |
|
51 | A normal user can view the details of incidents in RHS from anywhere in the team. |
| Pass |
|
52 | A normal user cannot view the incidents in another team |
| Pass | See test # 47 |
53 | Incident details in RHS lists the incident channels associated with it |
| Pass |
|
54 | A normal user can access an incident channel started by the same user |
| Pass |
|
55 | A normal user can access an incident channel started by a different user only when added to the incident channel |
| Pass |
|
56 | A normal user can’t access an incident channel once removed |
| Pass | Incident channel is still present in details view. |
57 | A normal user can’t end an incident after being removed from the incident channel |
| Pass |
|
58 | The incident list on the RHS shows the commander without opening the incident details. |
| Pass |
|
Test Area - Measure | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
59 | A message is posted to the channel when the incident starts |
| Fail | The incident channel does not have a “Commander” of the incident mentioned explicitly. This is different from what is in the user stories: “As the Incident plugin, a message is posted to the channel when the incident starts and ends so there is a timestamp record of who made the change.” MM-23862: The incident channel does not mention the commander explicitlyClosed |
60 | An message is posted in the channel where the incident was started |
| Pass |
|
61 | A message is posted to the channel when the incident ends using slash command |
| Pass |
|
62 | A message is posted to the channel when the incident ends using RHS |
| Pass |
|
63 | An “invalid channel name” error is displayed for channel names that are not valid |
| Fail | |
64 | Channel name in Incident Details modal cannot be empty |
| Pass |
|
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