mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 08:54:08 +00:00
92d2045735
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
46 lines
1 KiB
JavaScript
46 lines
1 KiB
JavaScript
require('babel-register')
|
|
var config = require('../../config')
|
|
|
|
// http://nightwatchjs.org/gettingstarted#settings-file
|
|
module.exports = {
|
|
src_folders: ['test/e2e/specs'],
|
|
output_folder: 'test/e2e/reports',
|
|
custom_assertions_path: ['test/e2e/custom-assertions'],
|
|
|
|
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: {
|
|
devServerURL: 'http://localhost:' + (process.env.PORT || config.dev.port)
|
|
}
|
|
},
|
|
|
|
chrome: {
|
|
desiredCapabilities: {
|
|
browserName: 'chrome',
|
|
javascriptEnabled: true,
|
|
acceptSslCerts: true
|
|
}
|
|
},
|
|
|
|
firefox: {
|
|
desiredCapabilities: {
|
|
browserName: 'firefox',
|
|
javascriptEnabled: true,
|
|
acceptSslCerts: true
|
|
}
|
|
}
|
|
}
|
|
}
|