4f3a9802c1
* add files for new client side and reorg gulp tasks * add deps and script for new client * fix webpack paths so that building works * fix static assets not copied into prod build * fix linting * add eslint deps and re-enable it in webpack * add most missing deps for client side and split .babelrc for client * reorganize .eslintignore * update client tests paths and .gitignore * uncomment code * client: move App component * client: update oaths in App component * fix client tests and add more deps * add client side tests to npm test * fix typo in depencency name * update more deps * fix karma.conf.js and upgrade phantomjs * fix dep and move karma.conf to subdirectory * update karma.conf.js position in Gruntfile * try downgrading phantomjs * Fixup client tests (#8032) * Use phantom 2 * fix(tests): Fix refresher test * gitignore translation mock * Update karma version * disable e2e tests for new client from build * write vue templates with pug * add basic routing * remove unnecessary Function.bind shim * remove unused dependency
47 lines
1.1 KiB
JavaScript
47 lines
1.1 KiB
JavaScript
require('babel-register');
|
|
var config = require('../../../webpack/config');
|
|
|
|
// http://nightwatchjs.org/guide#settings-file
|
|
module.exports = {
|
|
'src_folders': ['test/client/e2e/specs'],
|
|
'output_folder': 'test/client/e2e/reports',
|
|
'custom_assertions_path': ['test/client/e2e/custom-assertions'],
|
|
|
|
'selenium': {
|
|
'start_process': true,
|
|
'server_path': 'node_modules/selenium-server/lib/runner/selenium-server-standalone-2.53.0.jar',
|
|
'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,
|
|
},
|
|
},
|
|
},
|
|
};
|