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

[Epic] Detox View Hierarchy Live-Inspector #4280

Closed
1 task done
d4vidi opened this issue Nov 14, 2023 · 1 comment
Closed
1 task done

[Epic] Detox View Hierarchy Live-Inspector #4280

d4vidi opened this issue Nov 14, 2023 · 1 comment

Comments

@d4vidi
Copy link
Collaborator

d4vidi commented Nov 14, 2023

Describe your idea

This is not a Detox issue per se. It is a placeholder for launching a new project.

One of the pain points our developers often have when writing tests, is coming up with proper matchers. Specifically, things such as test ID's and class names are not easy to obtain for the associated screens.

One good solution is React dev-tools, but it comes with various shortcomings (for example, running in debug mode):

As an alternative, we want to consider making an accessibility app that puts a test device into a mode where the view hierarchy can be inspected interactively. Something that would get inspiration from the Google accessibility scanner app, for example, but will be used to inspect Detox-specific things such as test ID's (i.e. view tags, on Android), native ID's, class names, semantic types and more.

This will well align and power-boost #4239, in particular.

Tasks

  1. status: accepted
    gosha212
@d4vidi d4vidi changed the title Detox app inspector [Epic] Detox app inspector Nov 19, 2023
@d4vidi d4vidi changed the title [Epic] Detox app inspector [Epic] Detox View Hierarchy app inspector Nov 20, 2023
@d4vidi d4vidi changed the title [Epic] Detox View Hierarchy app inspector [Epic] Detox View Hierarchy Inspection App Nov 20, 2023
@d4vidi d4vidi changed the title [Epic] Detox View Hierarchy Inspection App [Epic] Detox View Hierarchy Live-Inspector Nov 22, 2023
@d4vidi d4vidi closed this as completed Feb 13, 2024
@d4vidi
Copy link
Collaborator Author

d4vidi commented Feb 13, 2024

The project is alive! https://github.com/wix-incubator/detox-inspector

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

2 participants