Sha256: a00376a529f859d52069350f8fa3282996ec9edc376f1fd5198912eed1eb250e

Contents?: true

Size: 841 Bytes

Versions: 56

Compression:

Stored size: 841 Bytes

Contents

// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This is will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })

Version data entries

56 entries across 43 versions & 2 rubygems

Version Path
cypress-on-rails-1.17.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.16.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.15.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.15.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.14.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.13.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.13.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.12.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.12.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.11.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.10.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.9.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.9.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.8.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.8.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.7.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.6.0 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress-on-rails-1.5.1 lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js
cypress_rails-0.9.3 spec/support/dummy_failing/cypress/support/commands.js
cypress_rails-0.9.3 spec/support/dummy_passing/cypress/support/commands.js