-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Any guide is lackluster without reproducible code, so here is the full repo.
// cypress/support/commands.js import '@percy/cypress' ... // https://github.com/percy/percy-cypress/issues/56 Cypress.Commands.add( 'percySnapshotElement', { prevSubject: true }, (subject, name, options) => { cy.percySnapshot(name, { domTransformation: (documentClone) => scope(documentClone, subject.selector), ...options }) } ) function scope(documentClone, selector) { const element = documentClone.querySelector(selector) documentClone.querySelector('body').innerHTML = element.outerHTML return documentClone }