Setup cypress (#112)

This commit is contained in:
Jonas Plum
2022-04-28 01:04:54 +02:00
committed by GitHub
parent 951c968694
commit 41e4b091f8
9 changed files with 646 additions and 14 deletions

View File

@@ -0,0 +1,20 @@
// ***********************************************
// custom commands
// 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 will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })