mirror of
https://github.com/Darkrock-Studios/hammer-editor.git
synced 2026-08-05 15:49:46 +00:00
Add a reusable EditorTestHarness (seed a project via Koin, launch straight into ProjectRootActivity, navigate, tear down without racing the scope flush) and one happy-path instrumented test per feature area: navigation smoke, scene list/editor, notes, encyclopedia, timeline, project home, and global search. To make the UI addressable, add optional testTag params to shared design-system components (FormField, MarkdownEditField, HdHairlineField/TagField/SearchField/ TypePicker, HdBottomBar/HdNavRail) and colocated testTag consts on the relevant screens. The custom text editor consumes key events rather than Compose SetText semantics, so the harness types into it via injected keystrokes. All 9 new tests pass on an api-34 emulator. |
||
|---|---|---|
| .. | ||
| playstore | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||