Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [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'; |
| 18 | import './steps/login.step'; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 19 | import './steps/fill.service.popup.step'; |
| 20 | import './steps/fill.vnf.popup.step'; |
| 21 | import './steps/fill.network.step'; |
| 22 | import './steps/fill.vfModule.step'; |
| 23 | import './steps/menu.step'; |
| 24 | import './steps/openInstanceAuditInfoModal.step'; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 25 | import './elements/element.actions'; |
| 26 | import './elements/element.input.actions'; |
| 27 | import './elements/element.select.actions'; |
| 28 | import './application/application.session.actions'; |
| 29 | import './elements/element.table.actions'; |
| 30 | import './jsonBuilders/mocks/aai.mock'; |
| 31 | import './jsonBuilders/mocks/vid.mock'; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 32 | import './jsonBuilders/mocks/permission.mock'; |
| 33 | |
| 34 | |
| 35 | import './steps/general/compareDeepObjects.step'; |
| 36 | import './steps/drawingBoard/drawingBoardModel.steps'; |
| 37 | import './steps/drawingBoard/drawingBoardTree.steps'; |
| 38 | import './steps/genericForm/genericFormAction.steps'; |
Ittay Stern | f792671 | 2019-07-07 19:23:03 +0300 | [diff] [blame] | 39 | import './steps/drawingBoard/drawingBoardHeader.steps'; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 40 | import './steps/drawingBoard/general.steps'; |
| 41 | import './steps/general/clickOutside.step'; |
| 42 | import './steps/drawingBoard/drawingBoardComponentInfo.steps'; |
| 43 | import './steps/genericForm/checkPopover.step'; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 44 | |
| 45 | // Alternatively you can use CommonJS syntax: |
| 46 | // require('./commands') |
| 47 | |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 48 | Cypress.Screenshot.defaults({ |
| 49 | capture: 'runner' |
| 50 | }); |