I am trying to write a UI test for our app that uses the new TextEditor
view.
let app = XCUIApplication()
app.launch()
let textEditor = app.<accessor>["Editor"]
textEditor.typeText("Hello, world")
I cannot find anywhere what this accessor should be. Predictably, textFields
doesn't work, and neither does textViews
.
Is there a generic accessor I could use instead?
EDIT: The textViews
accessor does in fact work.