Skip to content

Debounced Navigation. #4731

Open
Open
@vhvm

Description

@vhvm

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions