You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Rails engines we can make the following work out of the box.
// after logging in we redirect the usercy.forceLogin({email: '[email protected]',redirect_to: '/home'})// If a different model is used instead of `User`cy.forceLogin({email: '[email protected]',model: 'Account'})// logging in by idcy.forceLogin({id: 1})
If the login fails we should display a readable error message
If devise is not being used we should display a readable error message
The text was updated successfully, but these errors were encountered:
Make Authenticating a User https://github.com/shakacode/cypress-on-rails/blob/master/docs/authentication.md part of the gem.
Using Rails engines we can make the following work out of the box.
The text was updated successfully, but these errors were encountered: