-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: Focus event is not fired using the launch option headless: new
#10350
Comments
The issue has been labeled as confirmed by the automatic analyser. |
Thank you for reporting. |
I am not sure it is working as expected. I would expect a new page to be at the front by default. @Lightning00Blade could you report it to crbug.com? |
User of We experienced similar failures when running the tests of our project. More specifically, the failures were timeouts. After some debugging we found that tests were waiting on code that needed to run using Some observations we had:
As a workaround we override the behaviour of As the test of @koddsson is also using |
I believe the upstream issue has been fixed. |
Bug expectation
I expected the
@web/test-runner-chrome
focus tests to run green after we started using the new headless option. They started failing after setting this option and the minimal reproduction posted here seems to validate that test failure.Bug behavior
Minimal, reproducible example
Error string
AssertionError: Expected focus event to have been fired!
Puppeteer configuration
No response
Puppeteer version
20.5.0
Node version
18.16.0
Package manager
npm
Package manager version
9.6.4
Operating system
macOS
The text was updated successfully, but these errors were encountered: