cypress-fiddle icon indicating copy to clipboard operation
cypress-fiddle copied to clipboard

Hide fiddle completely using single comment block

Open bahmutov opened this issue 5 years ago • 0 comments

We should be able to hide the fiddle's code completely by hiding it in the HTML comment block

Instead of

<!-- fiddle Initial -->
```js
cy.visit('/')
cy.get('input').should('be.visible')
cy.screenshot('initial')
```
<!-- fiddle-end -->

Do

<!-- fiddle Initial
```js
cy.visit('/')
cy.get('input').should('be.visible')
cy.screenshot('initial')
```
-->

bahmutov avatar Sep 15 '20 02:09 bahmutov