Breaking changes to API
Breaking changes to snapshots
- We have improved how we're detecting
data-server-rendered="true", data-test, data-testid, data-test-id, and data-qa. They are now only removed from DOM element attributes. So if you made reference to these in your text nodes, they will now re-appear in your snapshot.
New Features
- You can now optionally remove any HTML
id attributes that begin with test. Though you should not be using ID's for test tokens as data-testid or data-test-id are much better suited, since their meaning is not mixed with JS or CSS like id is.
-<h1 id="testPageTitle">Kittens</h1>
+<h1>Kittens</h1>
Bug fixes
- If you were referencing any test tokens in your content, they will now be displayed in the snapshot.
Maintenance
- Changed all tests to allow setting values in the API first instead of relying on a global config shared by all tests
- Set up Coveralls for test coverage
- Reach 99.505% test coverage
- Lots of improvements to tests and testing
- Updated dependencies
- Update documentation
- Fixed typo in Demo test
- Renamed "test" folder to "tests" since it contains more than one test, obviously
Code Changes: