bahmutov / cypress-fiddle

Generate Cypress tests from HTML and JS
https://glebbahmutov.com/blog/cypress-fiddle/
2 stars 1 forks source link

feat: allow multiple HTML code blocks #7

Closed bahmutov closed 2 years ago

bahmutov commented 2 years ago

You can pass multiple HTML blocks via an array

// single html code block
{
  html: '<div id="greeting">Hello</div>'
}
// multiple html code blocks
// are concatenated
{
  html: [
    '<div id="greeting">Hello</div>',
    '<div id="name">World</div>'
  ]
}
github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: