diff --git a/test/e2e/nightwatch.conf.js b/test/e2e/nightwatch.conf.js index 74d2940..bda1ca4 100644 --- a/test/e2e/nightwatch.conf.js +++ b/test/e2e/nightwatch.conf.js @@ -1,52 +1,55 @@ const config = require("../../config") module.exports = { src_folders: ["test/e2e/specs"], output_folder: "test/e2e/reports", selenium: { start_process: true, server_path: require("selenium-server").path, host: "127.0.0.1", port: 4444, cli_args: { "webdriver.chrome.driver": require("chromedriver").path } }, test_settings: { default: { selenium_port: 4444, selenium_host: "localhost", silent: true, globals: { serverURL: "http://localhost:" + config.server.port } }, phantomjs: { desiredCapabilities: { browserName: "phantomjs", javascriptEnabled: true, acceptSslCerts: true, "phantomjs.binary.path" : "./node_modules/.bin/phantomjs" } }, chrome: { desiredCapabilities: { browserName: "chrome", javascriptEnabled: true, - acceptSslCerts: true + acceptSslCerts: true, + chromeOptions: { + args: ["headless"] + } } }, firefox: { desiredCapabilities: { browserName: "firefox", javascriptEnabled: true, acceptSslCerts: true } } } }