Microsoft Login with Cypress

Microsoft Login with Cypress

If you want to test the Microsoft login function with Cypress or your test includes a Microsoft login step it won’t work properly if some additional update isn’t included in the Cypress setup. What I mean by “not working properly” is that the Microsoft login component won’t appear on the page, but it will remain blank.

In the Cypress.config.js file, the following update should be added:
experimentalModifyObstructiveThirdPartyCode: true

const { defineConfig } = require("cypress");

module.exports = defineConfig({
  e2e: {
    experimentalModifyObstructiveThirdPartyCode: true,
    setupNodeEvents(on, config) {

     

    },
  },
});
Scroll to Top