-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improvements #21
Comments
@imtoo delays I want for long time to have. It can be easily done by middleware. Idea was to set some variant with modifier that will trigger delay. Mixture - you can use proxy server and when response is not found in fixtures it will do real call to api. If you ommit default variant in fixtures it should do call to api, if you set different variant and it exists it will use fixture Changing response - please make it more clear Pretiffier? It can be done also as middleware, but you would need to have correctly set response headers |
Thanks. Changing response: we need to change response from detox/appium (no cookies). We thought about some http request sent to changeResponse endpoint and it’d change response of the next http request |
@imtoo you can do it by setting variant or is it something else? |
also you can write endpoint.js which will be normal express endpoint which can store in context of file some variables |
The text was updated successfully, but these errors were encountered: