Selector ambiguity fix ({ selector: 'input' }) applied to all getByLabelText calls now that tooltip buttons render aria-label attributes matching field labels
duration_minutes
completed_date
tasks_completed
files_modified
7
2026-04-01
2
2
UX-04
Phase 10 Plan 03: Credential Field Help Text and Tooltips Summary
One-liner: Enriched BACKEND_REGISTRY with actionable tooltipText and helpText for all S3, S3-compatible, GCS, B2, and OneDrive drive_id credential fields, directing users to the exact console location to find each value.
What Was Built
Registry.ts now contains contextual help for 11 credential fields across 5 backend types. Each tooltip tells users WHERE to find the value (not just what it is), with doc links for GCS service account JSON creation.
37 tests pass. Added 4 new UX-01 tests verifying tooltip info buttons render for:
S3 access_key_id
S3-compatible endpoint
GCS service_account_credentials
B2 account (Application Key ID)
Deviations from Plan
Auto-fixed Issues
1. [Rule 1 - Bug] Fixed getByLabelText selector ambiguity across test suite
Found during: Task 1 (immediately after first test run)
Issue: Adding tooltipText to fields causes tooltip buttons to render with aria-label="More info about {Field Label}". This made getByLabelText(/field name/i) match both the input element AND the tooltip button, triggering "Found multiple elements" errors in 13 tests.
Fix: Added { selector: 'input' } to all affected getByLabelText calls in BACK-02, BACK-03, BACK-01 (drive_id), BACK-03 GCS, BACK-04 B2, and VALID-01 blocks. This is the same DEBT-01 pattern resolved in Phase 09-03.