karma-runner / karma-runner/karma

Browser always shows 'is idle' while tests are actually running

Open
#3,690 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/8225666/126605336-66cb50c2-f2a9-4644-a2c4-dee6a58d6e9b.png)

![image](https://user-images.githubusercontent.com/8225666/126605356-2fd783fb-cca2-4008-9dcb-72b1688c3c90.png)

The banner only turns 'executing' when one of the running browsers finishes its tasks.

![image](https://user-images.githubusercontent.com/8225666/126605516-6ab0270b-692d-41f2-b0bc-a83d6cf35ce1.png)

FYI I'm using `karma-webpack` as preprocessor for the test scripts. And a full list of plugins is as shown below:

```
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-firefox-launcher": "^2.1.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-safarinative-launcher": "^1.1.0",
"karma-sinon-chai": "^2.0.2",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the browser status behavior using the reported karma-webpack setup and listed Karma plugins. Trace where the banner changes between “idle” and “executing” while tests are running; done means the banner remains accurate throughout test execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.