Nanciee / cypress-autorecord

Simplify API mocking by auto-recording/stubbing HTTP interactions and automating the process of updating/deleting mocks.
223 stars 53 forks source link

a flag to rewrite URLs #60

Open kkhaidukov opened 2 years ago

kkhaidukov commented 2 years ago

The problem that I'm having:

A simple solution might be to add a config option that would match a base url and substitute it with '**', but maybe someone could point me to another way of making it work?

Sam152 commented 2 years ago

I had this same problem. I've submitted a PR which is one approach for addressing it.

Edit: I ended up rolling this in as a feature of: https://github.com/Sam152/cypress-replay