MockDataRecorder
A simple JS library that allow us to automatically record the JSON data from API calls when running E2E tests via testcafe.
Installation
npm install testcafe-mock-recorder
Usage
fixture `Getting Started` page `https://github.com`
Import mock data file
// import autogenerated file fixture `Getting Started` page `https://github.com` // attach the mocks to the test