Error with authentication in e2e tests using cypress: chrome-error://chromewebdata
问题 I'm using cypress for writing E2E tests for my UI (Note that it's a PowerBI report, hence it's kind of special case). When I am testing with a public report, it works fine. But when it's a private PBI report, I am having trouble with login part. After some research, I found this approach promising for Azure AD based auth, and added this login function in my commands.js file: Cypress.Commands.add('login', () => { cy.request({ method: 'POST', url: 'https://login.microsoftonline.com/{TENANT}