Skip to content

feat(test): add data-testid hooks to map components for stable e2e#376

Open
mercy60 wants to merge 1 commit into
VertexChainLabs:mainfrom
mercy60:fix/153-data-testid-map-hooks
Open

feat(test): add data-testid hooks to map components for stable e2e#376
mercy60 wants to merge 1 commit into
VertexChainLabs:mainfrom
mercy60:fix/153-data-testid-map-hooks

Conversation

@mercy60

@mercy60 mercy60 commented Jul 26, 2026

Copy link
Copy Markdown

Closes #153

  • MapLoader: add map-loader

  • Map: add map-add-gist-button

  • AddGistModal: add map-add-gist-modal, map-add-gist-modal-input, map-add-gist-modal-submit

  • Migrate Frontend/e2e/map.spec.ts to getByTestId selectors so the suite survives i18n / copy changes / visual refactors

  • Add Frontend/CONTRIBUTING.md documenting the kebab-case data-testid convention (issue Add data-testid hooks to map components for stable e2e #153)

  • All aria-labels, aria-labelledby, role, and visible text retained for assistive tech and unit tests.

Pull Request

Please provide a short description of the change and link any related issues.

PR Title Format Guidelines (Required)

Please ensure your PR title follows the Conventional Commits header format:
type(scope): subject or type: subject

  • Type must be lowercase (e.g., docs, feat, fix, chore, ci, etc.).
  • Subject must be ≤ 72 characters.
  • Examples: docs: add initial ADRs, feat(api): add user auth

Description

  • Summary of changes
  • Related issue: # (if applicable)

Checklist

  • Tests added or updated
  • Documentation updated (README, docs, comments)
  • Linting passes
  • Type checking passes (if applicable)
  • Relevant issue linked
  • Changelog updated (if applicable)

Security

If this change includes anything security-sensitive (secrets, auth changes, data exposure), describe mitigations and whether coordinated disclosure is required.

Notes for reviewers

  • Anything specific reviewers should check
  • How to run or reproduce the change locally

Closes VertexChainLabs#153

- MapLoader: add map-loader

- Map: add map-add-gist-button

- AddGistModal: add map-add-gist-modal, map-add-gist-modal-input, map-add-gist-modal-submit

- Migrate Frontend/e2e/map.spec.ts to getByTestId selectors so the suite survives i18n / copy changes / visual refactors

- Add Frontend/CONTRIBUTING.md documenting the kebab-case data-testid convention (issue VertexChainLabs#153)

- All aria-labels, aria-labelledby, role, and visible text retained for assistive tech and unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add data-testid hooks to map components for stable e2e

1 participant