mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Use single typeText call to speed up tests execution
This commit is contained in:
@@ -23,9 +23,8 @@ extension XCUIElement {
|
||||
let deleteString = String(repeating: XCUIKeyboardKey.delete.rawValue, count: currentValue.count)
|
||||
typeText(deleteString)
|
||||
|
||||
for character in text {
|
||||
typeText(String(character))
|
||||
}
|
||||
// Note: In the past, we had to type chars one by one to avoid CI flakiness
|
||||
typeText(text)
|
||||
}
|
||||
|
||||
func tap(_ point: UnitPoint) {
|
||||
|
||||
Reference in New Issue
Block a user