Skip to content

v0.10.0

Compare
Choose a tag to compare
@ItsJonQ ItsJonQ released this 15 May 13:50
· 17 commits to master since this release

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().