Skip to content

MatAutocompleteHarness doesn't open on focus() or getOptions() #29714

Open
@pfeileon

Description

@pfeileon

Is this a regression?

  • Yes, this behavior used to work previously

The previous version in which this bug was not present was

Puppeteer 23.1.1

Description

I guess somewhere between Puppeteer v. 23.1.1 and 23.3.0 Chromium must have been changed in a significant way.

Seems to be this bug again: #23757

Also routerHarness.fixture.nativeElement.querySelector(':focus') returns null while routerHarness.routeNativeElement?.ownerDocument.activeElement works.

Somehow these issues don't come up if the specific test is executed in isolation. It might depend on the order of execution.

Environment

Angular 18.2.3 / Jasmine 5.3.0 / Karma 6.4.4 / Puppeteer 23.3.0 / Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions