megaphone icon Mattermost v7.0 is now available!
Edit on GitHub

End-to-end Testing in Mattermost

This page describes the steps to run the End-to-End (E2E) tests and to build tests for a section or page of the Mattermost web application. Under the hood, we are using Cypress which is “fast, easy and reliable testing for anything that runs in a browser.”

Not familiar with Cypress? Here is some documentation that will help you get started:

What Requires an E2E Test? 

  1. Test cases defined in help-wanted E2E issues - for example, see link that opens a private channel using keyboard navigation with Ctrl/Cmd+K, arrow and enter keys.
  2. New features or stories - for example, see link for Mark As Unread feature.
  3. Bug fixes - for example, see link that fixes mention highlight to self.
  4. Test cases from Zephyr - for example, see link which adds automated tests for Guest Accounts.