The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
interceptPattern
doesn't work with regex, resolving issue #56 [ERuseckas]- FixtureId is not working with
req.reply
, resolving issues #32, #54, #55 [mhssmnn]
- Fix crash when loading request stored in a fixture [lefta]
- Config
interceptPattern
which allows you to specify which endpoints you want to listen and mock [Ika-x]
- [BREAKING CHANGE] Replace the underlying mechanism for stubbing and mocking to align with Cypress' new API in v6.x and v7.x [mhssmnn]
- Restore cy.clock in the beforeEach to allow specs to continue running [ha404]
Fetch()
'get' requests no longer breaks tests when running with the recorded mocks, resolving issue #40
- [BREAKING CHANGE] Organize fixtures by spec [bautistaaa]
- Use cy.now(...) to insert new stubbed route [bebop23]
- Add timestamp to tests so browser is brought back to the time where the mocks live [bebop23]
- Add new stub when response data changes [bebop23]
- Convert blob responses to plain text so it can be properly recorded, resolving issues #7 and #22 [lcnandre]
- Resolve cypress 5.x incompatibility, resolving issue #34 [jrocketfingers]
- Only record if the request coming in doesn't have a matching URL, METHOD, and BODY, resolving issue #5 [bautistaaa]
- Feature for recording HEAD requests [alejo90]
index.d.ts
to remove Typescript compiler warning [alejo90]- Feature for storing a set of whitelisted headers [alejo90]
- CHANGELOG.md
- README.md is updated to reflect changes
- Remove the need to pass in
__filename
when callingautoRecord()
[alejo90]
- All requests that has the same url and methods but different request bodies no longer just return the last request body
- Feature for recording PUT requests [chauey]
- README.md now includes the "Known Issues" section
- Filename for mocks copies entire test name minus the extension [fraserxu]
- Test cases using global asserts
- README.md now include the "How It Works" section
- README.md explaining current features
- POST requests that has the same url but different request bodies no longer just return the last request body
- Feature to auto record and stub xhr requests
- Feature to update mocks by inserting [r] in the name of the test
- Feature to clean mocks
- Feature to blacklist routes and prevent it from being recorded