Move openstack-health-nodejs10-run-test-browser to Firefox
openstack-health-nodejs10-run-test-browser job started failing on chrome browser - https://bugs.launchpad.net/stackviz/+bug/1909021 Horizon and its plugins also moved the nodejs browser jobs to firefox now, let's move openstack-health jobs to firefox. Closes-Bug: #1909021 Change-Id: I06476189c17323101b4904c3da52248ce04bfb83
This commit is contained in:
parent
d1afb3d881
commit
b91c0054e4
10
README.rst
10
README.rst
|
@ -226,19 +226,19 @@ To test python code, run::
|
|||
Frontend
|
||||
--------
|
||||
|
||||
The frontend tests ``npm test`` and ``npm run unit`` use a headless chrome
|
||||
driver and the driver requires the chromium-browser package to be installed on
|
||||
The frontend tests ``npm test`` and ``npm run unit`` use a firefox
|
||||
driver and the driver requires the firefox package to be installed on
|
||||
the system, you can do this by running::
|
||||
|
||||
$ sudo apt-get install chromium-browser
|
||||
$ sudo apt-get install firefox
|
||||
|
||||
.. note::
|
||||
When using an operating system that is not ubuntu 16.04 the
|
||||
process.env.CHROME_BIN variable may need to be updated in
|
||||
openstack-health/test/karma.conf.js to reflect your system's chromium
|
||||
openstack-health/test/karma.conf.js to reflect your system's firefox
|
||||
path.
|
||||
|
||||
For example on SUSE Leap OS, process.env.CHROME_BIN = '/usr/bin/chromium'
|
||||
For example on SUSE Leap OS, process.env.CHROME_BIN = '/usr/bin/firefox'
|
||||
must be set.
|
||||
|
||||
To test javascript code, run::
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
"karma": "~2.0.0",
|
||||
"karma-babel-preprocessor": "^4.0.1",
|
||||
"karma-browserify": "^4.0.0",
|
||||
"karma-chrome-launcher": "^2.1.0",
|
||||
"karma-firefox-launcher": "^2.1.0",
|
||||
"karma-cli": "0.0.4",
|
||||
"karma-coverage": "0.2.6",
|
||||
"karma-jasmine": "^0.3.6",
|
||||
|
|
|
@ -4,7 +4,7 @@ var istanbul = require('browserify-istanbul');
|
|||
var isparta = require('isparta');
|
||||
var ngAnnotate = require('browserify-ngannotate');
|
||||
|
||||
process.env.CHROME_BIN = 'chromium-browser'; // eslint-disable-line no-process-env
|
||||
process.env.FIREFOX_BIN = 'firefox'; // eslint-disable-line no-process-env
|
||||
|
||||
module.exports = function(config) {
|
||||
config.set({
|
||||
|
@ -36,13 +36,7 @@ module.exports = function(config) {
|
|||
|
||||
autoWatch: true,
|
||||
|
||||
browsers: ['ChromeHeadlessNoSandbox'],
|
||||
customLaunchers: {
|
||||
ChromeHeadlessNoSandbox: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['--no-sandbox']
|
||||
}
|
||||
},
|
||||
browsers: ['Firefox'],
|
||||
|
||||
singleRun: true,
|
||||
|
||||
|
@ -52,7 +46,7 @@ module.exports = function(config) {
|
|||
'karma-coverage',
|
||||
'karma-jasmine',
|
||||
'karma-spec-reporter',
|
||||
'karma-chrome-launcher',
|
||||
'karma-firefox-launcher',
|
||||
'karma-subunit-reporter'
|
||||
],
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ exports.config = {
|
|||
directConnect: true,
|
||||
|
||||
capabilities: {
|
||||
browserName: 'chrome'
|
||||
browserName: 'firefox'
|
||||
},
|
||||
|
||||
framework: 'jasmine',
|
||||
|
|
Loading…
Reference in New Issue