diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-06-03 13:12:12 +0300 |
---|---|---|
committer | Avi Stone <as206k@att.com> | 2018-06-03 11:56:49 +0000 |
commit | 548c5a220333c7cd666b861e737bff0b45461f18 (patch) | |
tree | 13c60b67291bd8bada498ad73c02a9e35afb5c9e /public/cypress/support/index.js | |
parent | 193095b01daf094c78f7fafacdf1c1cc31f290fe (diff) |
Update FE project
Update FE to latest version so that fe can run on docker
Change-Id: I9c5dee756b567dbe64fac6d3d6fd89362813bdcc
Issue-ID: SDC-1359
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'public/cypress/support/index.js')
-rw-r--r-- | public/cypress/support/index.js | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/public/cypress/support/index.js b/public/cypress/support/index.js index 2f70722..7cac3de 100644 --- a/public/cypress/support/index.js +++ b/public/cypress/support/index.js @@ -15,9 +15,31 @@ // Import commands.js using ES2015 syntax: import './commands'; -import './homeCommands'; import './generalCommands'; +import './homeCommands'; import './ruleEngineCommands'; -// Alternatively you can use CommonJS syntax: -// require('./commands') +// const istanbul = require('istanbul-lib-coverage'); + +// const map = istanbul.createCoverageMap({}); + +// Cypress.on('window:before:unload', e => { +// const coverage = e.currentTarget.__coverage__; + +// if (coverage) { +// map.merge(coverage); +// } +// }); + +// after(() => { +// cy.window().then(win => { +// const coverage = win.__coverage__; + +// if (coverage) { +// map.merge(coverage); +// } + +// cy.writeFile('.nyc_output/out.json', JSON.stringify(map)); +// cy.exec('nyc report --reporter=html'); +// }); +// }) |