Document Version | Description | Date |
v0.1 | Test Plan before team review |
Summary
This document describes the test plan to test the functionality of the LDAP Group Sync to Roles feature for Mattermost v5.20.
For the practicality of running tests easily, test cases may follow steps from the preceding test case.
When images exist in parallel to assist with the test case, they are placed right below the corresponding test cases.
Scope
This document outlines the tests for LDAP Group Sync to Roles - UI and Functionality features including system console and chat facing changes.
Glossary
Main menu
Hamburger menu on the LHS.
Channel menu
Dropdown menu which is displayed when we click on the Channel Name
Team Admin
A user who has a team administrator privileges of a team but with non-system administrator privileges.
Channel Admin
A user who has a channel administrator privileges of a channel but with non-system administrator (or) non-team admin privileges.
Test Server
A list of test server versions used in testing including Mattermost server and Marketplace Server
Assumptions
The tests in this test plans are written with the assumption that:
Testing done on System Console pages is done as a System Administrator, unless otherwise specified by the test case.
Testing is primarily done on the webapp and desktop app, with spot checks on RN mobile app or mobile web browser app to ensure the feature is not present.
Setup
The following setup will be necessary in order to begin testing:
A Mattermost server and webapp with the latest changes from the 5.20 release branch.
An AD/LDAP server with Groups and users for testing this functionality.
AD/LDAP configuration settings should be done on the System Console > AD/LDAP page and should be working.
At least one user with system administrator access to the Mattermost instance
At least one LDAP user belonging to one LDAP group
At least one LDAP user belonging to two LDAP groups (with at least 1 group common with the above step).
Log in to Mattermost as a system administrator.
Verify that Mattermost Version 5.20 is running.
Go to the main menu
Go to “About Mattermost”
Mattermost version appears on the About modal
Test Cases
System Console > Manage Teams
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
Setup | Results |
Tester: Rohitesh Gupta (Deactivated) Test Server: Build Hash: Date: | Pass |
System Console > Manage Teams
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Manage Channels
System Console > Channel Configuration - UI
Check if the Roles dropdown is displayed in the Channel Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
Values should be shown correctly in the Channel Configuration page
System Console > Manage Groups
System Console > Group Configuration - UI
Configure AD/LDAP and enable LDAP Group Sync and ensure there are LDAP Groups available.
Go to System Console > Groups Page and click on one of the groups.
Click on Add a Team and select a Team.
Check if there is an option provided to Assign a role to the team.
Assigned Roles column should have dropdown options of Member and Team Admin.
Click on Add a Channel and select a Channel.
Check if there is an option provided to Assign a role to the channel.
Assigned Roles column should have dropdown options of Member and Channel Admin.
Change the dropdown values and save. Reload the page and check if values are saved.
The values changes in the Assigned Roles dropdown should persist even after the page reload.
Group Roles on New User login
Set a different role for a group for a team/channel
Do not perform a LDAP Group Sync
Login as a new LDAP user who has never logged into the Mattermost system before.
Check if new user is assigned the permissions according to the permissions set in System Configuration > Groups page
New user should be assigned the Team & Channel permissions based on the roles defined in the System Console for that team and Channel
System Console > Manage Groups
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
Chat Facing > Teams > Manage Groups
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
Chat Facing > Channels > Manage Groups
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.
System Console > Team Configuration - UI
Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.
Add Multiple Groups and set different Roles, save and check if values are persisted.
Remove a Group, save and search for the same channel again and check if values are persisted.