Skip to content

Sync status is not compatible with the status schema #4851

@MadSandwich

Description

@MadSandwich

Did you test using the latest Detox?

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

Did your test fail and you're not sure why?

  • I have read the troubleshooting guide and it didn't help me.

What happened?

Failed to execute the current status query. Given sync status is not compatible with the status schema (`SyncStatusSchema.js`), given status: {"app_status":"busy","busy_resources":[{"name":"looper","description":{"thread":"\"LooperIdlingResource-101-mqt_native_modules\" (Native Modules Thread)","execution_type":"native module calls"}},{"name":"looper","description":{"thread":"\"LooperIdlingResource-100-mqt_js\" (JS Thread)","execution_type":"JavaScript code"}},{"name":" ui","description":{"reason":"UI rendering activity"}}]}.

With reasons:
• must NOT have additional properties in path "#/oneOf/0/additionalProperties" with params: {"additionalProperty":"busy_resources"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/0/properties/name/const" with params: {"allowedValue":"delayed_perform_selector"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/1/properties/name/const" with params: {"allowedValue":"dispatch_queue"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/2/properties/name/const" with params: {"allowedValue":"run_loop"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/3/properties/name/const" with params: {"allowedValue":"one_time_events"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/4/properties/name/const" with params: {"allowedValue":"timers"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/5/properties/name/const" with params: {"allowedValue":"ui"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/6/properties/name/const" with params: {"allowedValue":"bg"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/7/properties/name/const" with params: {"allowedValue":"network"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/8/properties/name/const" with params: {"allowedValue":"js_timers"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/9/properties/name/const" with params: {"allowedValue":"looper"}
• must NOT have additional properties in path "#/oneOf/1/properties/busy_resources/items/anyOf/10/additionalProperties" with params: {"additionalProperty":"description"}
• must NOT have additional properties in path "#/oneOf/1/properties/busy_resources/items/anyOf/11/additionalProperties" with params: {"additionalProperty":"description"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/12/properties/name/const" with params: {"allowedValue":"animation_updates"}
• must be equal to constant in path "#/oneOf/1/properties/busy_resources/items/anyOf/13/properties/name/const" with params: {"allowedValue":"unknown"}
• must match a schema in anyOf in path "#/oneOf/1/properties/busy_resources/items/anyOf" with params: {}
• must match exactly one schema in oneOf in path "#/oneOf" with params: {"passingSchemas":null}
Please report this issue on our GitHub tracker:
https://github.com/wix/Detox/issues
    at listOnTimeout (node:internal/timers:608:17)
    at processTimers (node:internal/timers:543:7) {
  name: 'DetoxInternalError'
}

What was the expected behaviour?

No response

Help us reproduce this issue!

No response

In what environment did this happen?

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

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log 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