Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

IE is launched without local storage support #101

@CB-Giepa

Description

@CB-Giepa

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:

  1. npm install
  2. gulp
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions