Skip to content

chore: [TL migration] rename getByPlaceholder to getByPlaceholderText (or provide an alias) #447

Closed
@mdjastrzebski

Description

@mdjastrzebski

Describe the Feature

Currently we have getByPlaceholder (and related queries). However, both RTL and deprecated TL/RN use getByPlaceholderText.

This seems to be consistent with other RTL, TL/RN names likes getByLabelText, getByHintText, etc.

Possible Implementations

  1. Rename getByPlaceholder -> getByPlaceholderText
  2. Add alias for getByPlaceholderText

Selected option should be mentioned in the migration guide.

My preferred option would be 1 (rename), as it would keep things simple & consitent.

Related Issues

This is part of migration to official TL repo.

CC: @thymikee @Esemesek @cross19xx

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions