feat: add centralized TestTags and testTag modifiers (Closes #31) #44

Merged
shahondin1624 merged 1 commits from feature/issue-31-test-tags-on-all-key-components into main 2026-03-13 13:04:01 +01:00

Summary

  • Create TestTags.kt object with centralized tag generators: attributeCard(), talentCard(), rollButton(), plus constants for nav items, panels, and toolbar elements
  • Apply testTag modifiers to: Attribute cards, Talent cards, roll buttons (in both Attribute and Talent), navigation drawer items, menu button, and theme toggle
  • Panel tags (character header, resources, derived attributes, damage monitor) defined as constants for future stories

Closes #31

Test plan

  • TestTagsTest: 6 tests verifying tag format, naming, and uniqueness
  • JS compilation verified
  • All 24 new+existing tests pass (only pre-existing ComposeTest failure)
## Summary - Create `TestTags.kt` object with centralized tag generators: `attributeCard()`, `talentCard()`, `rollButton()`, plus constants for nav items, panels, and toolbar elements - Apply `testTag` modifiers to: Attribute cards, Talent cards, roll buttons (in both Attribute and Talent), navigation drawer items, menu button, and theme toggle - Panel tags (character header, resources, derived attributes, damage monitor) defined as constants for future stories Closes #31 ## Test plan - [x] TestTagsTest: 6 tests verifying tag format, naming, and uniqueness - [x] JS compilation verified - [x] All 24 new+existing tests pass (only pre-existing ComposeTest failure)
shahondin1624 added 1 commit 2026-03-13 13:03:57 +01:00
Create TestTags.kt with tag generators for attribute cards, talent cards,
roll buttons, nav items, and panel placeholders. Apply testTag modifiers
to Attribute, Talent, and App navigation/toolbar composables.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 6e5a6a3fa1 into main 2026-03-13 13:04:01 +01:00
shahondin1624 deleted branch feature/issue-31-test-tags-on-all-key-components 2026-03-13 13:04:01 +01:00
Sign in to join this conversation.