Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Demo repository showing how to log in to Azure AD in your Cypress tests.

Notifications You must be signed in to change notification settings

MechanicalRock/cypress-msal-demo

Repository files navigation

MSAL Cypress Demo

This is the demo repo for the blog article on Azure AD authentication in Cypress tests using MSAL.

Prerequisites

You will need access to an Azure Active Directory instance. From your Azure portal need to get the Tenant ID, application Client ID, a Client Secret and a test user account. Add these values to the cypress.config.ts file.

Running the example

  1. Install dependencies
npm install
  1. Run the web app
npm start
  1. Run the Cypress test suite
npm run cypress:open

About

Demo repository showing how to log in to Azure AD in your Cypress tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published