...
...
...
...
...
...
...
...
...
...
...
...
Document version
...
1.0
Status:
...
TESTS DONE
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 04/23 |
References
Incident Response User Stories
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 - https://mattermost.atlassian.net/browse/MM-24007
...
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
...
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 following setup will be necessary in order to begin testing:
A Mattermost
v5.22v5.23 test server.The test server is equipped with an E10 license for the plugin to be installed.
Incident Plugin v0.1.0.
Build Hash:
Test Date:
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 |
| 2 | Admin can install plugin in an E10 instance | Log in 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 |
|
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 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Non-incident member can’t see incident channel listed in incident details RHS |
| 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.
| ‘Contact commander’ message on incident details view on RHS shows the correct commander | Continue from the above test.
| A non-incident member cannot end an incident | Continue from the above test.
| If already channel member, contact commander message is not shown | Continue from the above test.
| A non-commander channel member cannot end an | 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 | ||||||||
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.
| Playbook icon is present in Incident RHS header |
| Add a tooltip for the plus icon (New Incident) in the RHS |
| Add a tooltip for the book icon (Playbooks) in the RHS |
| |||||||||||||
Test Area - Coordinate
| |||||||||||||||||||||
Test ID | Test Case | Test Procedure | Result | Notes | |||||||||||||||||
Clicking on the Playbook icon brings user to the Playbooks backstage |
| 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 |
| “Playbook” is highlighted in backstage when user is brought there after clicking playbook icon | Continue from the above test.
| When no playbook exists, the backstage shows “there are no playbooks defined yet” |
| Clicking on New Playbook icon lets user add playbook name and checklist items | Continue from the above test.
| Canceling new playbook does not save the playbook | Continue from the above test.
| Clicking on “ ← Back to Mattermost” brings user back to normal channel | Continue from the above test.
| Incident creation dialog shows playbook option |
| Not selecting any option from Playbook dropdown allows for a new incident creation | Continue from the above test.
| “Playbook” in incident start modal only has “None” in dropdown when there is no playbook |
| Selecting “None” from Playbook dropdown does not create any
| 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.
| A new playbook can be saved from the Playbook backstage | Continue from the above test.
| A playbook can be edited from the Playbook backstage | Continue from the above test.
| Playbooks created from backstage show up on the incident creation interactive dialog’s Playbook dropdown | Continue from the above test.
| Selecting predefined playbook auto-populates an incident’s checklist
| 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.
| Checklist edited on incident RHS does not change the playbook checklist on backstage | 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. A “delete playbook” can be canceled
| A “delete playbook confirmation” dialog pops up when deleting a playbook | 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.
| A playbook can be deleted from the 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.
| A playbook created in Team X is not visible in Team Y | A commander can see a dropdown for users under “Commander” in details view |
| An “info” icon is present beside the Commander header |
| ||||
| |||||||||||
| 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.
| A non-commander cannot see a dropdown for users under “Commander” in details view | Continue from the above test.
| ??? | Incident channel members are listed in the user dropdown list
| Pass | ||||
42 | A playbook can be deleted from the backstage | Continue from the above test.
| An incident channel member can be searched by a commander in the user dropdown list | Continue from the above test.
| A non-incident channel member cannot be searched in the user dropdown list
| Pass | |||||
43 | A deleted playbook does not affect previously started incident using that playbook | Continue from the above test.
| A new user can be designated as a new commander |
| The new commander can edit checklist of the incident | ??? Any channel member can edit checklist? | The new commander can end an incident | ??? Any channel member can end incident? | Old commander cannot
| 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 | ??? | Old commander cannot edit checklist of the incident | ??? | Old commander cannot end an incident | ??? | |||||
Test Area - Measure
| |||||||||||
Test ID | Test Case | Test Procedure | Result | Notes | A bot message is posted to the incident channel when commander is changed. |
| |||||
| Checklist item displays when the item was checked off |
| Checklist item displays the latest time when the item was checked off | Continue from the above test.
| Items checked more than a day ago shows the day along with timestamp of when the item was checked | Continue from the above test.
| |||||
Test Area - Tests/bugs outside of user stories | |||||||||||
Test ID | Test Case | Test Procedure | Result | Notes
| 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 |
| ||
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 |