Skip to content

i18n landing footer e2e tests fail after the Awards link #136

Closed

Description

@vycdev

Two landing footer tests in tests/e2e/i18n.spec.ts fail on develop (17dcd83) under the spec's own config, npm run test:e2e:i18n (playwright.i18n.config.ts, which runs against the Vite dev server):

  • the landing footer language selector matches its links at 768px
  • the landing footer language selector matches its links at 390px

Both fail at expect(privacyBounds.x).toBeCloseTo(brandBounds.x, 0): the Privacy link is 97.3px to the right of the brand (129.3 vs 32 at 768px, 117.3 vs 20 at 390px). The Awards link added in #126 is now the first link in the footer's utility row, ahead of Privacy. The layout is correct and the test is out of date.

Corrected: this issue first listed five failures. The other three (language loading, failed language download, and desktop save prompts) appeared only because the spec was run with the default playwright.config.ts, which serves the production build. They pass under their intended config.

Activity

  1. added a commit that references this issue on Nov 7, 2026
    868b467
  2. changed the title [-]Five i18n e2e tests fail on develop[/-] [+]i18n landing footer e2e tests fail after the Awards link[/+] on Nov 7, 2026
  3. vycdev commented on Nov 7, 2026

    @vycdev
    OwnerAuthor

    Correction: I first ran i18n.spec.ts with the default playwright.config.ts (production build) instead of its own playwright.i18n.config.ts (dev server), which added three failures that don't happen under the intended config. I've updated the title and description: only the two footer tests are actually broken, and #137 now fixes just those.

  4. vycdev commented on Nov 7, 2026

    @vycdev
    OwnerAuthor

    Fixed by #137, merged into develop in 3b40316.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions