Files
vue-cli/packages/@vue/cli-plugin-e2e-nightwatch/__tests__/lib/globals-generated.js
T
Andrei Rusu 59adbd69c7 feat: Upgrade Nightwatch to v1.2 and update bundled config and generated tests (#4541)
* feat: Upgraded Nightwatch to version 1.2; updated distributed config; added new cli flags: --headless, --parallel...; added support for running chromedriver and geckodriver standalone; added unit tests

* docs: updated nightwatch plugin readme

* feat: add chromedriver and geckodriver as peer dependencies

* updated readme and driver depedencies

* updated optional dependencies

* fixed failing tests

* updated generated tests

* updated tests
2019-09-09 18:49:33 +08:00

15 lines
360 B
JavaScript

/**
* This file is copied during the test inside the project folder and used to inpsect the results
*/
const fs = require('fs')
module.exports = {
afterEach (browser, cb) {
fs.writeFile('test_settings.json', JSON.stringify(browser.options), cb)
},
reporter (results, cb) {
fs.writeFile('test_results.json', JSON.stringify(results), cb)
}
}