Sha256: 33bd89d8ccf2003094d1a0d525aae2b46fe04fa24d35abfafe10c204fd499182
Contents?: true
Size: 807 Bytes
Versions: 3
Compression:
Stored size: 807 Bytes
Contents
// CypressDev: dont remove these command Cypress.Commands.add('appCommands', function (body) { cy.log("APP: " + JSON.stringify(body)) cy.request({ method: 'POST', url: "/__cypress__/command", body: JSON.stringify(body), log: true, failOnStatusCode: true }) }); Cypress.Commands.add('app', function (name, command_options) { cy.appCommands({name: name, options: command_options}) }); Cypress.Commands.add('appScenario', function (name) { cy.app('scenarios/' + name) }); Cypress.Commands.add('appEval', function (code) { cy.app('eval', code) }); Cypress.Commands.add('appFactories', function (options) { cy.app('factory_bot', options) }); // CypressDev: end // The next is optional beforeEach(() => { cy.app('clean') // have a look at cypress/app_commands/clean.rb });
Version data entries
3 entries across 3 versions & 1 rubygems