Como consultar um botão com texto específico com React Native Testing Library
// in component
<Button
testID='LoginButton'
...
// in test
const { getByTestId } = render(<LoginScreen />);
expect(getByTestId('LoginButton')).toBeDefined();
SAMER SAEID