Cypress-Studio-like Chrome Extension that turns API calls into fixtures
Cypress-Studio-like Chrome Extension that turns API calls into fixtures
I find that the slowest part of writing Cypress tests is creating fixtures to mock API calls. So I’ve created this Chrome Extension to bootstrap Cypress tests with API calls automatically stubbed. Similar to Cypress Studio and existing Chrome extensions, it records all user actions during a session and creates a Cypress test file. But it also listens to all fetch/XHR calls made during the session and outputs a directory of fixtures, which are automatically used in the test file to stub API calls. Alternatively, you can disable mocking and the generated test file will automatically alias and wait for API calls to return (reducing flakiness in e2e tests without arbitrary waits). More details and a link to Chrome Web Store in the readme. Still early stage but any feedback would be appreciated!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
A Chrome extension for Delicious/Pinboard
Beautify Craigslist - Chrome Extension
My first Chrome Extension
GCal-Everywhere, my first chrome extension
Show HN : Another chrome extension for bufferapp
Trailers for Netflix (Chrome extension)
My first Chrome extension (TabZolo.co)
EasyWiki - the Chrome Extension
Honeybadger Chrome Extension
A Chrome extension to get around the WSJ paywall