Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE is launched without local storage support #101

Open
CB-Giepa opened this issue Nov 20, 2017 · 1 comment
Open

IE is launched without local storage support #101

CB-Giepa opened this issue Nov 20, 2017 · 1 comment

Comments

@CB-Giepa
Copy link

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.

@reduckted
Copy link

Sounds like a duplicate of #10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants