Detox
Detox copied to clipboard
toHaveValue over a multiline paragraph doesn't work
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?
- [X] I have tested this issue on the latest Detox release and it still reproduces.
Did your test throw out a timeout?
- [ ] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.
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