feat: Introduced cypress tests in erpnext

This commit is contained in:
Nabin Hait
2021-04-15 11:30:55 +05:30
committed by Ankush
parent 81522ec521
commit 74b8c99bc2
8 changed files with 412 additions and 0 deletions

25
cypress/support/index.js Normal file
View File

@@ -0,0 +1,25 @@
// ***********************************************************
// 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:
import './commands';
// Alternatively you can use CommonJS syntax:
// require('./commands')
Cypress.Cookies.defaults({
preserve: 'sid'
});