finding-nodes-by-tag-text-content
CommunityFind the right Compose node every time
Software Engineering#jetpack-compose#ui-testing#semantics-finders#test-tag#onnodwithtag#merged-tree#useunmergedtree
Authorskydoves
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill fixes flaky or failing Jetpack Compose UI tests caused by not finding the intended semantics node, finding the wrong number of nodes, or targeting the wrong (merged vs unmerged) semantics tree.
Core Features & Use Cases
- Finder selection from UI signals: choose the right query based on test tags, visible text, or accessibility content descriptions.
- Correct count contract handling: use single-node finders for exactly one match and plural finders when zero matches are acceptable.
- Merged vs unmerged reasoning: switch to unmerged tree only when targeting inner elements collapsed by merged semantics (for example, Text inside a Button).
Quick Start
Ask the AI to explain which Compose finder to use for a reported error like “Expected exactly '1' node but could not find any node…”, including whether to toggle useUnmergedTree.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: finding-nodes-by-tag-text-content Download link: https://github.com/skydoves/android-testing-skills/archive/main.zip#finding-nodes-by-tag-text-content Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.