Detox: Textfield not working

What happened?

With new release (20.19.5) type text for web textfield not working on iOS. It has no error, but there gets no text inserted.

What was the expected behaviour?

await web.element(by.web.id(elementId)).typeText(text) should actually insert the text

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.19.5 React Native version: 0.72.0 Has Fabric (React Native’s new rendering system) enabled: yes Node version: >=16 Device model: iPhone 15 iOS version: 17.2 macOS version: 14.4 Xcode version: 15.2 Test-runner (select one): jest

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Great this worked now. I just found another bug for iOS, will create a new Bug Issue for that 😃

Hello So still it is not working for me with newest Version(20.20.1). Can you perhaps provide me a Website with a working input textfield (that is working for you)? Because for me still it is not filling in any text when executing test. And also to add, I am using Simulator Tool Version 15.2 , iPhone 15 with Version 17.2.

Hello So unfortunately I do not have access to the page code.