Run npm nodejs job with Firefox browser

This patch update browser from Chrome to Firefox
in karma.conf.js because 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.

It also bump few pacakges version in 'lower-constraints.txt'
to fix lower-constraint job.

Change-Id: Id8454b0b0f7dc4b257699734f779935fb05b512f
This commit is contained in:
manchandavishal 2020-12-14 17:35:42 +00:00 committed by Vishal Manchanda
parent afb552342b
commit ab7d97fe45
3 changed files with 9 additions and 10 deletions

View File

@ -120,7 +120,7 @@ module.exports = function (config) {
frameworks: ['jasmine'],
browsers: ['Chrome'],
browsers: ['Firefox'],
phantomjsLauncher: {
// Have phantomjs exit if a ResourceError is encountered
@ -131,7 +131,7 @@ module.exports = function (config) {
reporters: ['progress'],
plugins: [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine',
'karma-ng-html2js-preprocessor'
]

View File

@ -14,7 +14,7 @@ contextlib2==0.5.5
coverage==4.0
cryptography==2.1.4
debtcollector==1.19.0
decorator==4.2.1
decorator==4.4.1
deprecation==2.0
Django==2.2
django-appconf==1.0.2
@ -28,10 +28,9 @@ enmerkar==0.7.1
extras==1.0.0
fasteners==0.14.1
fixtures==3.0.0
flake8==2.5.5
futurist==1.6.0
hacking==0.12.0
horizon==18.3.0
hacking==3.0.1
horizon==18.3.1
idna==2.6
imagesize==1.0.0
iso8601==0.1.11
@ -40,10 +39,10 @@ jmespath==0.9.3
jsonpatch==1.21
jsonpointer==2.0
jsonschema==2.6.0
keystoneauth1==3.16.0
keystoneauth1==3.18.0
linecache2==1.0.0
MarkupSafe==1.0
mccabe==0.2.1
mccabe==0.6.0
monotonic==1.4
msgpack==0.5.6
munch==2.2.0
@ -72,7 +71,7 @@ Pint==0.8.1
ply==3.11
prettytable==0.7.2
pycparser==2.18
pyflakes==0.8.1
pyflakes==2.1.0
Pygments==2.2.0
pyinotify==0.9.6
pymongo==3.6.1

View File

@ -10,7 +10,7 @@
"eslint-config-openstack": "1.2.4",
"jasmine-core": "2.4.1",
"karma": "1.1.2",
"karma-chrome-launcher": "1.0.1",
"karma-firefox-launcher": "2.1.0",
"karma-cli": "1.0.1",
"karma-jasmine": "1.0.2",
"karma-ng-html2js-preprocessor": "1.0.0"