Questions tagged [karma-chrome-launcher]
22 questions
0
votes
1 answer
Automated Testing with Project Piper
We are currently in the process of setting up a CI/CD pipeline for our SCP CF environment based on Project Piper. After a lot of trial & error, we have made significant process, however we are still not able to run our karma tests.
We understood…

ncktz
- 3
- 2
0
votes
1 answer
Karma launchers on Linux
I have a project which I was working on a Windows machine, however recently I've had to switch to Linux as my main dev machine and this is causing me some issues when trying to run JS unit tests using some karma launches,…

user1809790
- 1,349
- 5
- 24
- 53
0
votes
3 answers
Why does my karma-config.js triggers multiple launches of karma, with only the first working?
A CircleCI CI/CD pipeline handling an Angular 7 application fails during the test step, with the CircleCI log suggesting the browser is not registered, although it runs once and it works!
I'm building a CircleCI CI/CD pipeline for an Angular 7…

Rodrigo Silveira
- 141
- 2
- 15
0
votes
1 answer
Invalid chai property when using Chrome, Firefox browsers in Karma
I have been using PhantomJS as the browser to run my karma tests using grunt-karma. I am now trying to switch to another browser, but I am getting an assortment of "Invalid Chai property" errors when running the tests, which seem to happen on lines…

Devin Fields
- 2,066
- 1
- 10
- 18
0
votes
1 answer
Karma.conf.js load files before starting Chrome
If I run my tests with browsers: ['PhantomJS'], the tests pass but if I run with browsers: ['Chrome'], then it says google is not defined I think because it is loading the Chrome browser before the files in the karma.conf.js files field. How do I…

BeniaminoBaggins
- 11,202
- 41
- 152
- 287
0
votes
0 answers
Karma debugging in Chrome no longer working
We are working on an Angular project where we are using Karma/Jasmine for our testing environment. We've been using the karma-chrome-launcher for debugging the tests and it was working great. For some reason, it has stopped working lately. I can't…

Shaggy13spe
- 733
- 10
- 22
0
votes
1 answer
Why is Karma not receiving a message from the browser after tests execution completes?
A test was failing with:
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
So I added this.timeout(0) to it, then I got:
Disconnected, because no message in 10000 ms.
I went on to add…

givanse
- 14,503
- 8
- 51
- 75