Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

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.

  • LDAP Group Sync Job

    • This is an option provided in the System Console > AD/LDAP page.

  • 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:

...

  • 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

...

Setup

Results

Tester: Rohitesh Gupta (Deactivated)

Test Server: 

Build Hash: 

Date: 

Pass

System Console > Manage Channels

System Console > Channel Configuration - UI

...

Setup

Results

Tester: Rohitesh Gupta (Deactivated)

Test Server: 

Build Hash: 

Date: 

Pass

System Console > Manage Groups

System Console > Group Configuration - UI

...

Setup

Results

Tester: Rohitesh Gupta (Deactivated)

Test Server: 

Build Hash: 

Date: 

Pass

Chat Facing > Teams > Manage Groups

Promote Group Role to Team Admins

...

Setup

Results

Tester: Rohitesh Gupta (Deactivated)

Test Server: 

Build Hash: 

Date: 

Pass

Chat Facing > Channels > Manage Groups

Promote Group Role to Channel Admins

...

Setup

Results

Tester: Rohitesh Gupta (Deactivated)

Test Server: 

Build Hash: 

Date: 

Pass

Mapping to Server Scoped Role - System Admin Filter

LDAP Admin Filter

  1. Ensure LDAP setup is done correctly on an instance

  2. Navigate to System Console > AD/LDAP and set Admin Filter to "(givenName=barrett)" and set Enable Admin Attribute to true.

  3. Login as a LDAP user who has this attribute "givenName=barrett" configured in the AD/LDAP Server.

  4. Check if the user is logged in as System Admin User and has access to System Console

    1. User should be logged in as System Admin User. User should be able to access System Console without any errors

...