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

toHaveValue over a multiline paragraph doesn't work #4516

Open
1 of 2 tasks
gosha212 opened this issue Jun 19, 2024 · 0 comments
Open
1 of 2 tasks

toHaveValue over a multiline paragraph doesn't work #4516

gosha212 opened this issue Jun 19, 2024 · 0 comments

Comments

@gosha212
Copy link
Contributor

What happened?

Create a multiline TextView
use toHaveText() expectation
The validation will fail

What was the expected behaviour?

Looks like the problem is because toHaveText doesn't take \n in to consideration

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:
React Native version:
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:
Device model:
Android version:
Test-runner (select one): jest / other

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

@gosha212 gosha212 changed the title oHaveValue over a multiline paragraph doesn't work toHaveValue over a multiline paragraph doesn't work Jun 19, 2024
@gosha212 gosha212 self-assigned this Jun 19, 2024
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