This thread tracks the evolution of Slack's end-to-end (E2E) UI testing capabilities. Initial efforts focused on establishing a culture of testing and increasing test coverage. This post details the development of a reusable automation framework using Cypress.io, incorporating a Page Object Model (POM) abstraction layer with Slack-specific methods and best practices for element selection (data-qa attributes). The framework aims to reduce code duplication, flakiness, and improve maintainability for both automation and front-end engineers.
All Slack trails