neurobagel-recipes/cypress/support/commands.js
Arman Jahanpour e3c9a35369
[CI] Set up compatibility test workflow (#35)
* Set up Cypress and added a e2e test

* Added `Tech stack compatibility` workflow

* Fixed the issue with the workflow config file

* Wait on query tool

* Added `wait on query tool` step

* Update .env file

* Added `wait on graph set up` step

* Updated workflow config file

* Renamed test

* Addressed comments from PR
2024-04-11 15:19:23 -04:00

25 lines
837 B
JavaScript

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