What problem does it solve?
This skill eliminates the friction of reliably entering text into Jetpack Compose text inputs during UI tests, especially when dealing with cursor placement, selection, clearing, and IME-triggered actions.
Core Features & Use Cases
- TextEntry via semantics actions: Drives
InsertTextAtCursor (performTextInput) and SetText (performTextReplacement / performTextClearance) on Compose text fields.
- Cursor & selection control: Sets a
TextRange with performTextInputSelection, including correct handling for transformed vs original text.
- IME action triggering: Fires the configured non-default IME action with performImeAction to validate keyboard-driven focus chains (e.g., Next, Done, Search).
Use it when your test needs to type into TextField, OutlinedTextField, or BasicTextField, verify a clear-text behavior, test an IME Next button, or debug failures like “Failed to perform text input” / “Failed to perform IME action” / “Default ImeAction”.
Quick Start
Use entering-text to type a value into a TextField in your Compose UI test and optionally trigger its IME action as configured.