Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Test Case for FloatingLabelTextField #30

Open
kaushik-orangeapp opened this issue May 5, 2022 · 0 comments
Open

UI Test Case for FloatingLabelTextField #30

kaushik-orangeapp opened this issue May 5, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@kaushik-orangeapp
Copy link

kaushik-orangeapp commented May 5, 2022

How can i give accessibilityIdentifier to text field, because if i add accessibilityIdentifier to FloatingLabelTextField it did not work with UI Test Case

Example:

FloatingLabelTextField($firstName, placeholder: "First Name", editingChanged: { (isChanged) in 
})
accessibilityIdentifier("firstname_textfield")

Than i code in Test Case

let firstnameTextField = app.textFields["firstname_textfield"]
        firstnameTextField.tap()
        firstnameTextField.typeText("test user")

in text field it is not typing "test user"
can you please let me know how to make working in UI Test Case?

@kishanraja kishanraja reopened this May 11, 2022
@kishanraja kishanraja added the help wanted Extra attention is needed label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants