Preserving and whitelisting SharePoint authentication cookies while running E2E testing with Cypress
In the previous article, I explained how you could trick Cypress and SharePoint to load the whole page instead of a page on which most of the SharePoint controls did not load. Related article: How to make your site believe it isn’t running in an iframe during Cypress E2E tests. In some cases, you might experience tests failing due to authentication issues.