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

Sometime Next operation is not triggered after populating the input fields #4624

Open
1 task done
abhinavmalhan opened this issue Oct 28, 2024 · 0 comments
Open
1 task done

Comments

@abhinavmalhan
Copy link

abhinavmalhan commented Oct 28, 2024

What happened?

Currently, I am automating the web view. So the problem is that in some of the input text fields, I can input the values, and after filling in the value, I can see the next button to click. But in some scenarios, I can enter the fields but cannot see the next button. In react code, developers are using the default Input text field. But when I enter the values manually, the Next button is visible and able to be clicked.
Currently, I tried, the following function:

  • typeTaxt()
  • .tap() and typeText()
  • .replaceText()
  • Tap and Typed sequentially
  • .tap() and .replaceText()
  • .focus() and typeText()
  • Tap outside the field and typeText()
  • webview.runscript() with input and type event
  • Used wait also

But Nothing works, I can input the values, and after filling in the value, I can see the next button to click. But in some scenarios, I can enter the fields but cannot see the next button. In react code, developers are using the default Input text field. But when I enter the values manually, the Next button is visible and able to be clicked

What was the expected behaviour?

The expected behavior is that the next button should be visible when I populate the input field.

Was it tested on latest Detox?

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

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version:
React Native version:
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:
Test-runner (select one): jest / other

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste logs here!

More data, please!

No response

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

1 participant