Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typeText not working for web view text input #4630

Open
2 tasks done
aliub145 opened this issue Nov 6, 2024 · 2 comments
Open
2 tasks done

typeText not working for web view text input #4630

aliub145 opened this issue Nov 6, 2024 · 2 comments

Comments

@aliub145
Copy link

aliub145 commented Nov 6, 2024

What happened?

Trying to call typeText on a web view text input it not working. The field focuses but no text gets entered. There are no errors logged in the terminal (i.e. the test proceeds, but fails at the next step because the fields were not successfully entered)

What was the expected behaviour?

Calling typeText on a web view element should enter text successfully into the text field

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!

Code snippet from test:

usernameInput: web.element(by.web.id('username'))
await loginPage.usernameInput.typeText('testUsername')

In what environment did this happen?

Detox version: v20.27.6
React Native version: v0.73.4
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: v18.17.1
Device model: iPhone 15
iOS version: 17.5
macOS version: Sonoma 14.7
Xcode version: v16.1
Test-runner (select one): jest / other

Detox logs

no errors in logs

Device logs

no errors in logs

More data, please!

No response

@aliub145
Copy link
Author

aliub145 commented Nov 6, 2024

Related to this closed issue: #4426. Opened this issue because I am still hitting this issue on the latest version of Detox

@pang0018
Copy link

I provided a reproducible example in issue in #4426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants