-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel route "login" does not exist. #55
Comments
facing the same issue |
@troccoli I have the same issue but if I add |
I do call |
It looks like the route handler (in laravel-routes.js) is correctly validating that the route exists, but the "error message" is stating the opposite of what it should state. I think the feedback Chai and Cypress are giving, should be what we're trying to assert, not what we want to know if the assertion fails. E.g. Assert the route exists, then the message should be "Laravel route "login" should exist" |
Placing |
I'm ignoring these messages for now. It's only the representation in the Cypress UI that is a bit misleading. The message doesn't appear when running headless mode unless the route actually doesn't exist. |
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
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?
The text was updated successfully, but these errors were encountered: