Nabin Hait | 74b8c99 | 2021-04-15 11:30:55 +0530 | [diff] [blame] | 1 | // *********************************************************** |
| 2 | // This example support/index.js is processed and |
| 3 | // loaded automatically before your test files. |
| 4 | // |
| 5 | // This is a great place to put global configuration and |
| 6 | // behavior that modifies Cypress. |
| 7 | // |
| 8 | // You can change the location of this file or turn off |
| 9 | // automatically serving support files with the |
| 10 | // 'supportFile' configuration option. |
| 11 | // |
| 12 | // You can read more here: |
| 13 | // https://on.cypress.io/configuration |
| 14 | // *********************************************************** |
| 15 | |
| 16 | // Import commands.js using ES2015 syntax: |
| 17 | import './commands'; |
Ankush Menat | a68344f | 2021-06-29 21:33:55 +0530 | [diff] [blame] | 18 | import '../../../frappe/cypress/support/commands' // eslint-disable-line |
Nabin Hait | 74b8c99 | 2021-04-15 11:30:55 +0530 | [diff] [blame] | 19 | |
| 20 | |
| 21 | // Alternatively you can use CommonJS syntax: |
| 22 | // require('./commands') |
| 23 | |
| 24 | Cypress.Cookies.defaults({ |
| 25 | preserve: 'sid' |
Ankush Menat | a68344f | 2021-06-29 21:33:55 +0530 | [diff] [blame] | 26 | }); |