-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
"Some of your tests did a full page reload!" on MacOS when using Chrome 128.x #3887
Comments
// This works for me. Not sure if it's a good option or if it makes more sense to address this in the config.
It’s recommended to use this as a temporary workaround while investigating the root cause of the reloads and fixing any underlying issues in your test logic. |
I've hit this with Chrome 129 as well. It only seems to be happening to me when running in headless mode so I have not been able to debug what is triggering window.onunload. It seems to happen after all tests have run. I created a simple fdescribe test with an I suspect this has something to do with Chrome's "new" headless mode. Trying to see if that was the case, I tried setting
It seems to overwrite the headless option
The issue does not happen when running with WebStorm
and it doesn't happen when I run in normal Chrome mode. |
From angular/angular-cli#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
Update the karma config to include
The text was updated successfully, but these errors were encountered: