mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +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)
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user