2021-09-30 11:44:30 +02:00
|
|
|
// ***********************************************************
|
|
|
|
// This example support/index.js is processed and
|
|
|
|
// loaded automatically before your test files.
|
|
|
|
//
|
|
|
|
// This is a great place to put global configuration and
|
|
|
|
// behavior that modifies Cypress.
|
|
|
|
//
|
|
|
|
// You can change the location of this file or turn off
|
|
|
|
// automatically serving support files with the
|
|
|
|
// 'supportFile' configuration option.
|
|
|
|
//
|
|
|
|
// You can read more here:
|
|
|
|
// https://on.cypress.io/configuration
|
|
|
|
// ***********************************************************
|
|
|
|
|
|
|
|
// Import commands.js using ES2015 syntax:
|
2022-05-25 10:14:22 +02:00
|
|
|
import './commands';
|
2021-09-30 11:44:30 +02:00
|
|
|
|
|
|
|
// Alternatively you can use CommonJS syntax:
|
|
|
|
// require('./commands')
|
2022-05-25 10:14:22 +02:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
namespace Cypress {
|
|
|
|
interface Chainable {
|
|
|
|
login(user?: string, password?: string): Chainable<null>;
|
2023-03-08 11:47:42 +01:00
|
|
|
logout(user?: string): Chainable<null>;
|
2022-05-25 10:14:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|