Comments (6)
facing the same issue
from cypress.
@troccoli I have the same issue but if I add cy.refreshRoutes()
to the top of the test then its happy.
from cypress.
I do call cy.refreshRoutes()
in the before()
method.
from cypress.
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"
from cypress.
Placing cy.refreshRoutes()
in before()
does not fix this for me
from cypress.
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.
from cypress.
Related Issues (20)
- Using factories by morph name proposal
- Caching problems with `config:clear` in cypress/support/index.js
- Problems with Passport command `passport:install` does not exist HOT 2
- There are no commands defined in the "cypress" namespace. HOT 3
- Cypress 10 support HOT 5
- Typescript support HOT 2
- Global installation of Cypress HOT 3
- Issue with artisan route HOT 3
- Environment variables undefined in tests HOT 1
- Receiving error: http://localhost:8000/cypress/artisan - 419: Unknown Status Code HOT 2
- Class "App\User" not found HOT 2
- PUT requests do not work HOT 1
- laravel 9 - problem with CSRF TOKEN HOT 3
- Timeout when running `cy.refreshDatabase()` HOT 2
- Calling Login() a second time does not work HOT 1
- The wildcard for routes RegExp fails on optional parameters HOT 1
- Improve safety of environment check HOT 2
- AWS mock or stub functions
- Feature Request: Modify values using config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress.