Skip to content

Selected obligation multiline field drops inserted line breaks #4473

Closed

Description

@leaf-agent

Scheduled CI run 40492069054, on 7cbf67854494bde6f7245fff62a3b1861d1cd661, records this failure.

The field reads Keep both layersKeep them togetherPreserve both histories instead of three newline-separated lines. This differs from #4247’s null click failure.

Affected cases (JUnit names):

  • tests.journeys.test_render_options::test_a_selected_obligation_keeps_one_action_context_while_tab_reaches_its_field
Deciding CI diagnostics
Linux:
AssertionError: Locator expected to have JS Property 'Keep both layers
Keep them together
Preserve both histories'
Actual value: Keep both layersKeep them togetherPreserve both histories 
Call log:
  - Expect "to_have_property" locator("#storage-options > .lf-another leaf-text") with timeout 120000ms
  - waiting for locator("#storage-options > .lf-another leaf-text")
    242 × locator resolved to <leaf-text tabindex="0" name="option" role="textbox" data-lf-gen="1" data-lf-offer="" data-lf-focus="" class="lf-ui scroll" aria-multiline="false" data-lf-focus-within="" data-lf-focus-visible="" aria-label="Another option" data-lf-focus-visible-within="" placeholder="Add another option ⏎" aria-keyshortcuts="Enter Meta+Enter Control+Enter">…</leaf-text>
        - unexpected value "Keep both layersKeep them togetherPreserve both histories"

Aria snapshot:
- textbox "Another option":
  - /placeholder: Add another option ⏎
macOS:
AssertionError: Locator expected to have JS Property 'Keep both layers
Keep them together
Preserve both histories'
Actual value: Keep both layersKeep them togetherPreserve both histories 
Call log:
  - Expect "to_have_property" locator("#storage-options > .lf-another leaf-text") with timeout 120000ms
  - waiting for locator("#storage-options > .lf-another leaf-text")
    241 × locator resolved to <leaf-text tabindex="0" name="option" role="textbox" data-lf-gen="1" data-lf-offer="" data-lf-focus="" class="lf-ui scroll" aria-multiline="false" data-lf-focus-within="" data-lf-focus-visible="" aria-label="Another option" data-lf-focus-visible-within="" placeholder="Add another option ⏎" aria-keyshortcuts="Enter Meta+Enter Control+Enter">…</leaf-text>
        - unexpected value "Keep both layersKeep them togetherPreserve both histories"

Aria snapshot:
- textbox "Another option":
  - /placeholder: Add another option ⏎

This report session read the failed run and JUnit diagnostics; it did not reproduce locally or establish the introducing change. Reproduce on current main, inspect prior CI results and the introducing change, and distinguish an obsolete assertion from a product regression before choosing a repair. A passing rerun alone does not clear an intermittent defect.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    #4606 updates the stale journey assertion. #4270 deliberately made option titles single-line: Shift+Enter inserts nothing, and Enter submits on every keyboard. This repair preserves that behavior and the journey's obligation action-context and Tab checks; it changes no product code.

    The original test reproduced the reported concatenated-value failure on current main. The corrected journey and the phone option-entry test pass (2 tests). The fix is pushed, with review, CI and landing handed to the queued Tend review and landing workflows; CI waiting is disabled for this session.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions