Skip to content

The i18n Logs journey fails: two log-pane notes match one locator #799

Backlog

Description

@ryanwelcher

Description

the Logs are fully translatable… in tests/e2e/journeys/i18n.spec.js (line ~1081) fails on trunk (8ac1794):

Error: strict mode violation: getByRole('complementary', { name: '[Ļóĝš~~]' }).locator('.log-pane-note') resolved to 2 elements
  1) the Server tab's note ("No dev server output yet…")
  2) the Build watch tab's note

The Server tab got its own .log-pane-note in #698, so after switching to Build watch both panes' notes are in the DOM. The locator needs to be scoped to the selected tab's panel.

Step-by-step reproduction instructions

  1. From the repository root, on trunk: npm run build:once
  2. npm run test:e2e:hidden -- tests/e2e/journeys/i18n.spec.js -g "the Logs are fully translatable"

Found while working on #798, where it fails the same way.

Activity

  1. added
    bug
    on Nov 27, 2026
  2. blondje200015-gif commented on Nov 30, 2026

    @blondje200015-gif

    I'd like to work on this issue. I'll reproduce the failing test locally and submit a PR with the locator fix.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions