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

Debounced Navigation. #4731

Open
1 task done
vhvm opened this issue Mar 7, 2025 · 0 comments
Open
1 task done

Debounced Navigation. #4731

vhvm opened this issue Mar 7, 2025 · 0 comments

Comments

@vhvm
Copy link

vhvm commented Mar 7, 2025

What happened?

Timers make the tests fail. While navigating between screens detox throws an error.

What was the expected behaviour?

I would expected the screen navigation without issues even if I have timers.

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!

  • Navigate use debounce or use setInterval

In what environment did this happen?

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

Detox logs

Detox logs
14:04:28.378 detox[88081] i The app is busy with the following tasks:
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
• Run loop "Main Run Loop" is awake.
• 1 enqueued native timers:
  - Timer #1:
    + Fire date: none.
    + Time until fire: 0.000.
    + Repeat interval: 0.

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