karma-runner / karma-runner/karma

"Some of your tests did a full page reload!" on MacOS when using Chrome 128.x

Open
#3,887 5 comments 24 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

From https://github.com/angular/angular-cli/issues/28271

When using Karma with Chrome 128.x on OSX, the following error is displayed: `Some of your tests did a full page reload!`.

Reproduction steps

```
mkdir karma-test
cd karma-test
npm init -y
npm install karma karma-chrome-launcher karma-jasmine --save-dev
npx karma init
```

Update the karma config to include

```
client: {
clearContext: false,
},
```

```
npx karma start —-single-run
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.