Path: blob/develop/web/test/e2e/nightwatch.conf.js
387 views
require('babel-register')1var config = require('../../config')23// http://nightwatchjs.org/gettingstarted#settings-file4module.exports = {5src_folders: ['test/e2e/specs'],6output_folder: 'test/e2e/reports',7custom_assertions_path: ['test/e2e/custom-assertions'],89selenium: {10start_process: true,11server_path: require('selenium-server').path,12host: '127.0.0.1',13port: 4444,14cli_args: {15'webdriver.chrome.driver': require('chromedriver').path16}17},1819test_settings: {20default: {21selenium_port: 4444,22selenium_host: 'localhost',23silent: true,24globals: {25devServerURL: 'http://localhost:' + (process.env.PORT || config.dev.port)26}27},2829chrome: {30desiredCapabilities: {31browserName: 'chrome',32javascriptEnabled: true,33acceptSslCerts: true34}35},3637firefox: {38desiredCapabilities: {39browserName: 'firefox',40javascriptEnabled: true,41acceptSslCerts: true42}43}44}45}464748