Skip to content

Commit ab4c90b

Browse files
committed
Debug tests
1 parent 3604b9a commit ab4c90b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

compose/ui/ui/src/iosMain/kotlin/androidx/compose/ui/window/IntermediateTextInputUIView.ios.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ internal class IntermediateTextInputUIView(
155155

156156
override fun didMoveToWindow() {
157157
super.didMoveToWindow()
158-
159158
if (usingNativeTextInput) {
160159
if (window != null && !selectionInteractionAttached) {
161160
// Ensure UIKit text interaction is attached early so that cursor and selection

compose/ui/ui/src/uikitInstrumentedTest/kotlin/androidx/compose/ui/interaction/TextFieldEditMenuTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ class TextFieldEditMenuTest {
431431
}
432432

433433
private fun UIKitInstrumentedTest.openToolbar(textFieldTag: String) {
434+
delay(50)
434435
findNodeWithTag(textFieldTag).tap()
435436
delay(500)
436437
findNodeWithTag(textFieldTag).doubleTap()
@@ -494,7 +495,6 @@ class TextFieldEditMenuTest {
494495
} else {
495496
"UICalloutBar"
496497
}
497-
498498
waitForIdle()
499499
waitUntil {
500500
firstNodeOrNull { node ->

compose/ui/ui/src/uikitInstrumentedTest/kotlin/androidx/compose/ui/test/UIKitInstrumentedTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ internal class UIKitInstrumentedTest(
417417
fun AccessibilityTestNode.doubleTap() {
418418
val frame = frame ?: error("Internal error. Frame is missing.")
419419
tap(frame.center())
420-
delay(50)
420+
delay(100)
421421
return tap(frame.center())
422422
}
423423

0 commit comments

Comments
 (0)