Closed lucaspottersky closed 4 years ago
Hey thanks for the suggestion. It sounds reasonable, I'll look into it 👍.
I've released a new version (0.2.0) with support for this, thanks for your contribution in the PR!
I've also added a decoupled frontend with tests in the sandbox project, in case you want to see how I've configured it.
Problem:
In setups where the PHP app backend is being served from a different server than where the the one where frontend is running (say an API at
http://backend.localhost
), the plugin throws exceptions:Suggested solution:
There could be some sort of setting where you could specify to override the "baseUrl". For example, in
cypress.json
When none is specified, than follow the current behaviour.