Skip to content

[Bug]: Text fill is NOT working as expected in playwright version 1.53.1 #36395

Closed
@harir5

Description

@harir5

Version

1.53.1

Steps to reproduce

In playwright version 1.52.0, things were working as expected and our text field fills were working properly. We were :

  1. checking to see if text field is editable
  2. scrollintoviewIfNeeded
  3. clearing the text field
  4. fill the text field with user value and assert to see if the value is reflected (expect().toHaveText()).
  5. fire the blur event.

we recently upgraded playwright to 1.53.1 and see that our fill and clear events are not working properly. We are seeing a case where the fill event either happens too fast and the field does not hydrate properly or the clear event happens (in debug mode, fill seems to have completed) and the field seems to be empty.

We also see this coming up between page loads as well when the test transitions between pages.

I apologize in advance for not sharing a minimal reproduceable repo.

Expected behavior

I expect the value that the user provides to be filled into a text field.

Actual behavior

Text field is empty, waiting for and the text fill is NOT happening as expected

Additional context

No response

Environment

System :
OS: macOS 14.7.6
Binaries:
Node - 20.15.0
npm - 10.7.0
npmPackages:
@playwright/test: 1.53.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions