UI testing Entra ID protected single page applications with Cypress

Book This Session

Overview

Authentication can make automated user interface testing complicated. The tests should use the application as it would be normally used, and that includes authentication. It can be even more complicated when the application uses a federated identity provider like Entra ID. In this talk, you will see an approach to building UI tests with Cypress that test an Entra ID-protected single page application. The same approach can be applied to other testing frameworks as well. The source code of the presented application will be available to the audience.