Skip to content

fix(web): await ODS attachment preview readiness in browser test #514

Closed

Description

@lastobelus

Failure

PR #507 CI run 40430952145, at head 6c1e51b979fbed755b7e8f8e1afd742b9b0e97bd on base e25d102539c773615b494d8642237c145d228bad, failed one browser test after the attachment readiness repair in #513.

AttachmentFilePreview.browser.test.tsx → preserves ods document text through the worker and attachment viewer, line 2622, expected North but read only Attachmentreport.ods1 KB. The assertion uses the existing vi.waitFor callback while the real worker and lazy viewer initialize. Test Web recorded 6,201 passed and one failed; Check and CI Gate propagated that failure.

Required correction

Investigate the ODS readiness boundary and make the smallest supported correction. Preserve the real worker, complete fixture, cell/text and privacy assertions. Prefer semantic browser assertions. Do not increase timeouts, add retries or sleeps, quarantine, remove tests, or change production behavior without evidence of a product defect.

The held-Action change in #507 does not touch this attachment test or viewer. Keep its repair separate. No user-visible ODS defect has been established from this CI result.

Activity

  1. added a commit that references this issue on Oct 27, 2026
    f3b049c
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