Run npm nodejs job with Firefox browser
This patch update browser from PhantomJS to Firefox in karma.conf.js becuase nodejs-run-test job fails with PhantomJS browser. So let's switch to Firefox browser now later once we fix issue with PhantomJS then we can use it. Change-Id: I2c82374eae4c4a05848af47cdae3ed4776a60f94
This commit is contained in:
parent
9ea52c9362
commit
83cde69f5e
@ -1,6 +1,5 @@
|
|||||||
# selenium tests
|
# selenium tests
|
||||||
firefox [selenium]
|
firefox [selenium]
|
||||||
libfontconfig1 [nodejs platform:dpkg]
|
|
||||||
xvfb [selenium platform:dpkg]
|
xvfb [selenium platform:dpkg]
|
||||||
# already part of xorg-x11-server on openSUSE
|
# already part of xorg-x11-server on openSUSE
|
||||||
xorg-x11-server-Xvfb [selenium platform:redhat]
|
xorg-x11-server-Xvfb [selenium platform:redhat]
|
||||||
|
@ -140,7 +140,7 @@ module.exports = function (config) {
|
|||||||
|
|
||||||
frameworks: ['jasmine'],
|
frameworks: ['jasmine'],
|
||||||
|
|
||||||
browsers: ['PhantomJS'],
|
browsers: ['Firefox'],
|
||||||
|
|
||||||
phantomjsLauncher: {
|
phantomjsLauncher: {
|
||||||
// Have phantomjs exit if a ResourceError is encountered
|
// Have phantomjs exit if a ResourceError is encountered
|
||||||
@ -152,7 +152,7 @@ module.exports = function (config) {
|
|||||||
//reporters: ['spec'],
|
//reporters: ['spec'],
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
'karma-phantomjs-launcher',
|
'karma-firefox-launcher',
|
||||||
'karma-jasmine',
|
'karma-jasmine',
|
||||||
'karma-ng-html2js-preprocessor',
|
'karma-ng-html2js-preprocessor',
|
||||||
'karma-spec-reporter',
|
'karma-spec-reporter',
|
||||||
|
@ -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-phantomjs-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
Block a user