getByPlaceholderText(
container?: HTMLElement,
text: TextMatch,
options?: {
exact?: boolean = true,
normalizer?: NormalizerFn,
}): HTMLElement
<input placeholder="Username" />
on test
import {screen} from '@testing-library/dom'
const inputNode = screen.getByPlaceholderText('Username')