-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
I'm using Cypress 10, which may be relevant, and version 2.2.1 of this package.
I have a simple test to check the login form works
describe('Login', function () {
it('redirects to the home page once logged in', function () {
cy.visit({route: 'login'})
.get('#email').type('super-admin@example.com')
.get('#password').type('password')
.get('[type="submit"]').click()
.url().should('eq', Cypress.config().baseUrl + '/');
});
});The test passes, but I get the message Laravel route "login" does not exist.
It clearly exists so I'm not sure what is that about. Besides, the message in an assertion and it's green, which indicates it's not an error (which is correct).
Could it be that maybe the package is trying to assert the route exist rather than it doesn't?
Metadata
Metadata
Assignees
Labels
No labels
