Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

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:

  1. Testing done on System Console pages is done as a System Administrator, unless otherwise specified by the test case.

  2. 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

  1. 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).

  1. Log in to Mattermost as a system administrator.

  2. 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

  1. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. 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

  1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

  2. Add Multiple Groups and set different Roles, save and check if values are persisted.

  3. Remove a Group, save and search for the same channel again and check if values are persisted.

System Console > Team Configuration - UI

  1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

  2. Add Multiple Groups and set different Roles, save and check if values are persisted.

  3. 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

  1. Check if the Roles dropdown is displayed in the Channel Configuration page under Groups section.

  2. Add Multiple Groups and set different Roles, save and check if values are persisted.

  3. Remove a Group, save and search for the same channel again and check if values are persisted.

    1. Values should be shown correctly in the Channel Configuration page

System Console > Manage Groups

System Console > Group Configuration - UI

  1. Configure AD/LDAP and enable LDAP Group Sync and ensure there are LDAP Groups available.

  2. Go to System Console > Groups Page and click on one of the groups.

  3. Click on Add a Team and select a Team.

  4. Check if there is an option provided to Assign a role to the team.

    1. Assigned Roles column should have dropdown options of Member and Team Admin.

  5. Click on Add a Channel and select a Channel.

  6. Check if there is an option provided to Assign a role to the channel.

    1. Assigned Roles column should have dropdown options of Member and Channel Admin.

  7. Change the dropdown values and save. Reload the page and check if values are saved.

    1. The values changes in the Assigned Roles dropdown should persist even after the page reload.

Group Roles on New User login

  1. Set a different role for a group for a team/channel

  2. Do not perform a LDAP Group Sync

  3. Login as a new LDAP user who has never logged into the Mattermost system before.

  4. Check if new user is assigned the permissions according to the permissions set in System Configuration > Groups page

    1. 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

  1. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  2. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  3. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  4. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  5. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

Chat Facing > Teams > Manage Groups

  1. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  2. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  3. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  4. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  5. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

Chat Facing > Channels > Manage Groups

  1. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  2. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  3. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  4. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  5. System Console > Team Configuration - UI

    1. Check if the Roles dropdown is displayed in the Team Configuration page under Groups section.

    2. Add Multiple Groups and set different Roles, save and check if values are persisted.

    3. Remove a Group, save and search for the same channel again and check if values are persisted.

  • No labels