Subito-it / SBTUITestTunnel

Enable network mocks and more in UI Tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rewrite Stubbed Responses

mfernandez94 opened this issue · comments

Was looking at the example project and the rewrite section, but can't seem to figure out how to use rewrite with stubbed responses from a local JSON file. Is that currently possible?

The rewrite feature works on actual, non stubbed, network requests. I've updated the documentation accordingly. Given that you have the JSON file you could load it in a dictionary that would be modified dynamically as needed (instead of using rewrites).

ah ok! thanks you!