Document Version 1.0
Status: Test for v0.0.1 in progress
Document Version | Description | Date |
---|---|---|
0.0 | Initial version | 04/06 |
0.1 | Updated based Alejandro García Montoro 's review. New test cases added: 14, 16, 17, 18, 23 | 04/10 |
0.2 | Updated based on Alejandro’s review + team meeting. | 04/14 |
1.0 | Test run and completed | 04/30 |
References
Summary
v0.0 is the initial version of this document that outlines the test plan for the Channel Export plugin v0.0.1 that is currently in its implementation phase. The tests in this plan are derived from the user stories in Channel Export document. The document will be updated with tests as needed, until the final version is cut for release.
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
This document covers test cases for the user stories as outlined for the Channel Export plugin v.0.0.1. This scope will be expanded if needed for 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.
Assumption
The tests in this test plans are written with the assumption that:
The tests outlined in this document are to be executed against the Channel Export plugin v0.0.1.
The Channel Export plugin, although will be a part of the Enterprise Edition plugin suite that will only available to customers with E10/E20 license, the first version of the plugin will be available on non-EE instances.
The Channel Export plugin can function as a standalone plugin that does not require to talk to any other plugin.
The Channel Export 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.
Channel Export Plugin v0.0.1.
Tests
Test Server:
Build Hash:
Test Date:
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 |
| ||
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 | |
8 | Admin can remove plugin |
| Pass |
Install and enable the plugin if needed. For the following tests, log out as system admin and login as normal user. All following tests, until specified will be tested as a normal user.
Test Area - Permissions | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
9 | User can export a public channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
10 | User can export a private channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
11 | User can export a GM channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
12 | User can export a DM channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
13 | User can export DM channel with self |
(See tests in “Export” test area below to verify successful export.) | Pass | |
14 | User can export a bot message channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
15 | User can export archived channel |
| Pass | |
16 | User can export an un-archived channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
15 | User cannot export a channel they are not added to |
| Pass | |
17 | User cannot export a channel once they are ‘kicked’ from the channel |
(See tests in “Export” test area below to verify successful export.) | Pass | |
18 | User cannot export a read-only channel |
| Fail |
Test Area - Export | ||||
---|---|---|---|---|
Test ID | Test Case | Test Procedure | Result | Notes |
19 | A system message notifies of successful export command execution on the channel where export is initiated |
| Pass | |
20 | A bot message notifies of a successful export |
| Pass | |
21 | The exported file can be downloaded locally |
| Pass | |
22 | Channel is exported in CSV file format |
| Pass | |
23 | Exported CSV filename has [channel-name].csv format |
| pass | |
24 | A bot message notifies of an unsuccessful export |
| ||
25 | Exported CSV has messages of a channel in chronological order |
| ||
26 | Exported CSV has date |
| ||
27 | Exported CSV has timestamp |
| ||
28 | Exported CSV has message senders username |
| ||
29 | A channel with no messages can be exported successfully |
| ||
30 | A channel with more than 100 messages can be exported successfully |
| ||
31 | A channel with media files can be exported successfully |
|