Skip to content

UI Test Case for FloatingLabelTextField #30

@kaushik-orangeapp

Description

@kaushik-orangeapp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions