Use single typeText call to speed up tests execution

This commit is contained in:
manuroe
2026-03-26 17:42:50 +01:00
committed by Mauro
parent 96b6d69d5a
commit 3d58aa0afb
@@ -23,9 +23,8 @@ extension XCUIElement {
let deleteString = String(repeating: XCUIKeyboardKey.delete.rawValue, count: currentValue.count) let deleteString = String(repeating: XCUIKeyboardKey.delete.rawValue, count: currentValue.count)
typeText(deleteString) typeText(deleteString)
for character in text { // Note: In the past, we had to type chars one by one to avoid CI flakiness
typeText(String(character)) typeText(text)
}
} }
func tap(_ point: UnitPoint) { func tap(_ point: UnitPoint) {