assertTextContainsSubstring

fun SemanticsMatcher.assertTextContainsSubstring(expected: String): UltronComposeSemanticsNodeInteraction

TEXT_CONTAINS must always be a substring match. Ultron's assertTextContains defaults to TextContainsOption(substring = false) (exact match), so generated code and the runtime executor use these wrappers to enforce substring = true.


fun UltronComposeListItem.assertTextContainsSubstring(expected: String): UltronComposeListItem
fun UltronComposeSemanticsNodeInteraction.assertTextContainsSubstring(expected: String): UltronComposeSemanticsNodeInteraction