Skip to content

[autocomplete] Regression with 7.3 and Playwright #46734

Description

@tux21b

Steps to reproduce

Steps:

  1. Create a MUI AutoComplete with freeSolo={true}
  2. Use Playwright to .fill("foobar") and .press("Enter")

Current behavior

Starting with Material UI 7.3 onChange is called with [undefined] when run within Playwright. I wasn't able to reproduce the behavior when interacting manually with the Autocomplete field.

Expected behavior

onChange should be called with ["foobar"] like in Material UI 7.2.

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: playwright autocomplete

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: autocompleteChanges related to the autocomplete. This includes ComboBox.type: regressionA bug, but worse, it used to behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions