Detox: how to test multiline TextInput
问题 I'm trying to use detox to test a form in my react-native app. One of the inputs in the form has multiline={true} . I am trying to run the following test: const inputElement = element(by.id('input_multiline')); await expect(inputElement).toBeVisible(); await inputElement.typeText('line1\n'); await inputElement.typeText('line2\n'); await inputElement.typeText('line3\n'); const submitElement = element(by.id('submit')); await submitElement.toBeVisible(); await submitElement.tap(); This test