File tree Expand file tree Collapse file tree
iosMain/kotlin/androidx/compose/ui/window
uikitInstrumentedTest/kotlin/androidx/compose/ui Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ->
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments