Skip to content

No test opens the organizer app in another language #952

Closed

Description

@richshaw

Needs your OK: this adds tests only: the organizer app in each test language, with accessibility, label-fit and screenshot checks. Nothing people see changes. Swap pipeline:proposed for pipeline:ready to have it built.

What happens

  • The participant side has tests in every language (Run the translation tests for every language with a catalog #935): TEST_LOCALES in src/i18n/testing/locales.ts is every catalog language but English, and the seeded signups, translated-signup.spec.ts, the a11y, precompile, Build-tab and slot-row checks, the translation screenshots and the email samples run for each.
  • The organizer side has none. No seeded organizer stores a test language, so no e2e run sees the app in one. A page that forgets to pass the organizer's language renders English inside a translated app, and tests in English can't see it.
  • Help walkthroughs and the catalog can drift. Each article's .ui.ts list types the English names of controls, and the walkthroughs click by them. Once those names come from the catalog, nothing checks the two still agree.

Fix, in outline

For each TEST_LOCALES language:

  • A seeded organizer who stores it, in tests/e2e/helpers/seed.ts through global-setup.ts, shown in that language through E2E_UNSHIPPED_LOCALES (The organizer app ignores the organizer's language #937).
  • A smoke in a new tests/e2e/translated-organizer.spec.ts: create a signup, build it, publish it, open Responses and account Settings. Each page's own text comes from the test language's catalog where it has a message (English where it doesn't), and its <html lang> and wrapper lang match (Organizer pages say lang="en" on <html> whatever the organizer's language #938).
  • Accessibility: axe (WCAG A/AA) on the dashboard and the Build tab, as tests/e2e/a11y.spec.ts does for the signup page.
  • Label fit: the signup tabs and header buttons at phone width don't overflow or wrap, as slot-row-layout.spec.ts checks the slot rows.
  • Screenshots for the translation review: the organizer screens join tests/e2e/helpers/translation-shots.ts, so the translate skill's reviewer reads them in context.

And once:

  • A unit check that each help .ui.ts name is the catalog's English for the control it names, where the control's text has moved to the catalog.
  • docs/translating.md says the organizer side runs these checks too.

Watch for

Order

Built on the localization stack (top: #936); see #619. After #937 (an organizer can store a test language), and after #935 (the per-language test setup) is on main or below this PR.

Gate

Auto. Tests and docs only.

Done when

  • translated-organizer.spec.ts, the axe checks, the label-fit checks and the organizer screenshots run and pass for each TEST_LOCALES language.
  • The help-names check passes.
  • pnpm lint && pnpm format:check && pnpm typecheck && pnpm knip && pnpm test, pnpm build, and pnpm test:e2e for the new specs pass.

Phase 2 of #619, from the owner's decisions of 14 and 15 November 2026 and a survey of the organizer code. Checked against the localization stack at 750e570 (top: #936) and #935's branch, neither on main yet.

https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt

Activity

  1. added
    enhancement
    on Nov 15, 2026
  2. self-assigned this
    on Nov 16, 2026
  3. richshaw commented on Nov 16, 2026

    @richshaw
    OwnerAuthor

    Building this now. The owner approved it in the orchestrating session ("build it all", 16 November 2026), so it moves from pipeline:proposed to pipeline:building. The PR will be stacked on #935's branch (claude/issue-637-tests-every-language), since it needs #935's per-language test setup, and will say Merge after #935.

    Session: https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt


    Generated by Claude Code

  4. removed
    pipeline:working
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions