cypress
cypress copied to clipboard
Routes without auth middleware
In our application, we enforced the auth middleware by default on all routes with an exception on the login page because our application can be only used by authenticated users.
This is unfortunately causing this cypress integration to not work because properly when user is not authenticated yet.
I added ->withoutMiddleware(['auth']) to the route config so the integration can properly work in app where auth middleware is enforced by default.