Run npm nodejs job with Firefox browser
This patch update browser from Chrome to Firefox in karma.conf.js
becuase nodejs fails with Chrome browser as not able to access some
URL. So let's switch to Firefox browser now then we can use Chrome
browser in future once this issue is resolved.
Change-Id: Id5186f16656e0671dda7ab91062c104b2c08758f
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
(cherry picked from commit 64e2e58b4e
)
This commit is contained in:
parent
43a9e0cd67
commit
f7c308ca11
|
@ -2,7 +2,7 @@
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- horizon-non-primary-django-jobs
|
- horizon-non-primary-django-jobs
|
||||||
# - horizon-nodejs10-jobs
|
- horizon-nodejs10-jobs
|
||||||
- openstack-cover-jobs-horizon
|
- openstack-cover-jobs-horizon
|
||||||
- openstack-python3-victoria-jobs-horizon
|
- openstack-python3-victoria-jobs-horizon
|
||||||
- publish-openstack-docs-pti
|
- publish-openstack-docs-pti
|
||||||
|
|
|
@ -121,7 +121,7 @@ module.exports = function (config) {
|
||||||
|
|
||||||
frameworks: ['jasmine'],
|
frameworks: ['jasmine'],
|
||||||
|
|
||||||
browsers: ['Chrome'],
|
browsers: ['Firefox'],
|
||||||
|
|
||||||
phantomjsLauncher: {
|
phantomjsLauncher: {
|
||||||
// Have phantomjs exit if a ResourceError is encountered
|
// Have phantomjs exit if a ResourceError is encountered
|
||||||
|
@ -132,7 +132,7 @@ module.exports = function (config) {
|
||||||
reporters: ['progress'],
|
reporters: ['progress'],
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
'karma-chrome-launcher',
|
'karma-firefox-launcher',
|
||||||
'karma-jasmine',
|
'karma-jasmine',
|
||||||
'karma-ng-html2js-preprocessor'
|
'karma-ng-html2js-preprocessor'
|
||||||
]
|
]
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"eslint-config-openstack": "1.2.4",
|
"eslint-config-openstack": "1.2.4",
|
||||||
"jasmine-core": "2.4.1",
|
"jasmine-core": "2.4.1",
|
||||||
"karma": "~1.1.2",
|
"karma": "~1.1.2",
|
||||||
"karma-chrome-launcher": "1.0.1",
|
"karma-firefox-launcher": "2.1.0",
|
||||||
"karma-cli": "1.0.1",
|
"karma-cli": "1.0.1",
|
||||||
"karma-jasmine": "1.0.2",
|
"karma-jasmine": "1.0.2",
|
||||||
"karma-ng-html2js-preprocessor": "1.0.0"
|
"karma-ng-html2js-preprocessor": "1.0.0"
|
||||||
|
|
Loading…
Reference in New Issue