Cypress e2e test dock closing on cy.visit()
Filed a bug with the Cypress github project and was informed this usually occurs when an application has framebusting code. Turns out we were importing hammerjs
. When I removed that import (in polyfills.js), it works fine.
import 'hammerjs';
For reference, the issue link is Entire test runner redirects to app's login page #3517