cypress-io / cypress-fiddle

Quickly generates Cypress tests from HTML and JS code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide fiddle completely using single comment block

bahmutov opened this issue · 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')
```
-->