This repository was archived by the owner on Apr 19, 2026. It is now read-only.
Description I am trying to setup a Teamcity config in order to run my unit tests. My components to do so are the following:
Build Steps:
npm install
gulp
npm test
Build fails with following error:
[npm test] > karma start karma_qunit.conf.js --single-run && karma start karma_jasmine.conf.js --single-run
[11:05:44][npm test]
[11:05:49][npm test] 20 11 2017 11:05:49.535:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
[11:05:49][npm test] 20 11 2017 11:05:49.544:INFO [launcher]: Launching browsers IE_no_addons with unlimited concurrency
[11:05:49][npm test] 20 11 2017 11:05:49.667:INFO [launcher]: Starting browser IE
[11:05:53][npm test] 20 11 2017 11:05:53.331:INFO [IE 11.0.0 (Windows 10 0.0.0)]: Connected on socket h9rXHfyF9TcJDVdfAAAA with id 13447655
[11:05:54][npm test] IE 11.0.0 (Windows 10 0.0.0) ERROR
[11:05:54][npm test] This function is not supported by your system.
[11:05:54][npm test]
[11:05:54][npm test] at mytest.js:413
[11:05:54][npm test]
[11:05:54][npm test]
[11:05:56][npm test] 20 11 2017 11:05:56.084:WARN [launcher]: IE was not killed in 2000 ms, sending SIGKILL.
Code of my test at the line mentioned in the error:
QUnit . begin ( function ( )
{
window . localStorage . clear ( ) ; // <--- Line 413
init ( ) ;
} ) ;
Additional Informations:
When I run the command "karma start karma_qunit.conf.js" manually in a command line on the agent, the tests run just fine
When I start the IE manually and open the dev tools, I can use the local storage as expected
How can I solve this issue? Any help is appreciated.
Thanks and best regards.
Reactions are currently unavailable
I am trying to setup a Teamcity config in order to run my unit tests. My components to do so are the following:
Build Steps:
Build fails with following error:
[npm test] > karma start karma_qunit.conf.js --single-run && karma start karma_jasmine.conf.js --single-run
[11:05:44][npm test]
[11:05:49][npm test] 20 11 2017 11:05:49.535:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
[11:05:49][npm test] 20 11 2017 11:05:49.544:INFO [launcher]: Launching browsers IE_no_addons with unlimited concurrency
[11:05:49][npm test] 20 11 2017 11:05:49.667:INFO [launcher]: Starting browser IE
[11:05:53][npm test] 20 11 2017 11:05:53.331:INFO [IE 11.0.0 (Windows 10 0.0.0)]: Connected on socket h9rXHfyF9TcJDVdfAAAA with id 13447655
[11:05:54][npm test] IE 11.0.0 (Windows 10 0.0.0) ERROR
[11:05:54][npm test] This function is not supported by your system.
[11:05:54][npm test]
[11:05:54][npm test] at mytest.js:413
[11:05:54][npm test]
[11:05:54][npm test]
[11:05:56][npm test] 20 11 2017 11:05:56.084:WARN [launcher]: IE was not killed in 2000 ms, sending SIGKILL.
Code of my test at the line mentioned in the error:
Additional Informations:
How can I solve this issue? Any help is appreciated.
Thanks and best regards.