v0.10.0
Avoid this version. Issues with Babel
Reported: #11
Inspect: New method to preview a snapshot of rendered HTML in browser
This update adds a new (experimental) method to Cyan called inspect
.
It takes cy.debug()
to a whole... new... level. Rendering the (snapshot) HTML in a new browser window, along with any rendered styles.
When used with async/await
, it will actually pause your Jest test run, until you close the browser tab.
Demo in this screencast:
https://www.loom.com/share/9dadfd8641ec4801b4b70352e4ff4a3c
To use it, just add cy.inspect()
to any part of your test, just like cy.debug()
.