unable to capture any brower window: tried firefox, chrome

104 views
Skip to first unread message

wcha...@gmail.com

unread,
Jul 31, 2015, 11:15:41 AM7/31/15
to karma-users
karma v0.13.3, windows 7 64, nodejs 0.12.7, karma-jasmine 0.3.6, karma-chrome-launcher 0.2.0, karma-firefox-launcher 0.1.6
config: karma.conf.js
// Karma configuration
// Generated on Fri Jul 31 2015 10:12:10 GMT-0400 (Eastern Daylight Time)

module.exports = function(config) {
config.set({

// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '../',


// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],


// list of files / patterns to load in the browser
files: [
'src/**/*.js',
'test/**/*.js'
],


// list of files to exclude
exclude: [
],


// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
},


// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],


// web server port
port: 9876,


// enable / disable colors in the output (reporters and logs)
colors: true,


// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_DEBUG,


// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,


// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Firefox'],


// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,

plugins: [
'karma-jasmine',
'karma-firefox-launcher'
],

captureTimeout: 9000
})
};

log:
"C:\Program Files (x86)\nodejs\node.exe" C:\Users\xxx\.IntelliJIdea14\config\plugins\js-karma\js_reporter\karma-intellij\lib\intellijServer.js --karmaPackageDir=C:\Users\xxx\node_modules\karma --configFile=C:\Users\xxx\IdeaProjects\TestingFramworkProject\project\javascript\etc\karma.conf.js
31 07 2015 11:04:12.584:DEBUG [plugin]: Loading plugin karma-jasmine.
31 07 2015 11:04:12.591:DEBUG [plugin]: Loading plugin karma-firefox-launcher.
31 07 2015 11:04:12.595:DEBUG [plugin]: Loading plugin C:\Users\xxx\.IntelliJIdea14\config\plugins\js-karma\js_reporter\karma-intellij\lib\intellijPlugin.js.
31 07 2015 11:04:12.651:INFO [karma]: Karma v0.13.3 server started at http://localhost:9876/
31 07 2015 11:04:12.662:INFO [launcher]: Starting browser Firefox
31 07 2015 11:04:12.663:DEBUG [temp-dir]: Creating temp dir at C:\Users\xxx\AppData\Local\Temp\karma-33706856
31 07 2015 11:04:12.667:DEBUG [launcher]: C:\Program Files (x86)\Mozilla Firefox\firefox.exe http://localhost:9876/?id=33706856 -profile C:\Users\xxx\AppData\Local\Temp\karma-33706856 -no-remote
31 07 2015 11:04:21.663:WARN [launcher]: Firefox have not captured in 9000 ms, killing.
31 07 2015 11:04:21.787:DEBUG [launcher]: Process Firefox exited with code 0
31 07 2015 11:04:21.787:DEBUG [temp-dir]: Cleaning temp dir C:\Users\xxx\AppData\Local\Temp\karma-33706856
31 07 2015 11:04:21.823:INFO [launcher]: Trying to start Firefox again (1/2).
31 07 2015 11:04:21.824:DEBUG [launcher]: Restarting Firefox
31 07 2015 11:04:21.824:DEBUG [temp-dir]: Creating temp dir at C:\Users\xxx\AppData\Local\Temp\karma-33706856
31 07 2015 11:04:21.827:DEBUG [launcher]: C:\Program Files (x86)\Mozilla Firefox\firefox.exe http://localhost:9876/?id=33706856 -profile C:\Users\xxx\AppData\Local\Temp\karma-33706856 -no-remote
31 07 2015 11:04:30.824:WARN [launcher]: Firefox have not captured in 9000 ms, killing.
31 07 2015 11:04:30.935:DEBUG [launcher]: Process Firefox exited with code 0
31 07 2015 11:04:30.935:DEBUG [temp-dir]: Cleaning temp dir C:\Users\xxx\AppData\Local\Temp\karma-33706856
31 07 2015 11:04:30.960:INFO [launcher]: Trying to start Firefox again (2/2).
31 07 2015 11:04:30.961:DEBUG [launcher]: Restarting Firefox
31 07 2015 11:04:30.961:DEBUG [temp-dir]: Creating temp dir at C:\Users\xxx\AppData\Local\Temp\karma-33706856
31 07 2015 11:04:30.963:DEBUG [launcher]: C:\Program Files (x86)\Mozilla Firefox\firefox.exe http://localhost:9876/?id=33706856 -profile C:\Users\xxx\AppData\Local\Temp\karma-33706856 -no-remote
31 07 2015 11:04:39.961:WARN [launcher]: Firefox have not captured in 9000 ms, killing.
31 07 2015 11:04:40.096:DEBUG [launcher]: Process Firefox exited with code 0
31 07 2015 11:04:40.097:DEBUG [temp-dir]: Cleaning temp dir C:\Users\xxx\AppData\Local\Temp\karma-33706856
31 07 2015 11:04:40.121:ERROR [launcher]: Firefox failed 2 times (timeout). Giving up.
Reply all
Reply to author
Forward
0 new messages