Laravel Dusk: Support Mock API Responses #46297
Unanswered
shivaRamdeen
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As a dusk user I would like the ability to listen for api requests and mock responses during automated tests.
This is particularly helpful where a feature relies on an external service that we do not wish to hit during testing.
A potential use would look like this:
If this is not something supported yet (I don't think it is), I would be willing to implement although an implementation disucussion would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions