Как изменить язык клавиатуры в тесте пользовательского интерфейса?
let app = XCUIApplication()
app.launch()
let elementsQuery = app.scrollViews.otherElements
elementsQuery.buttons["ForgotPasswordButton"].tap()
elementsQuery.secureTextFields["passwordTextField"].tap()
elementsQuery.secureTextFields["passwordTextField"].typeText("autotesT1")
elementsQuery.textFields["nameTextField"].tap()
elementsQuery.textFields["nameTextField"].typeText("Дмитрий")