Sharing: long-name fixture locator ignores accessible row name #1290

Open
opened 2026-10-07 00:56:44 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Run bun e2e/share.mjs against a fresh local server.
  2. Upload a file named with 120 A characters plus .txt through the API.
  3. Open /files?path=Trip; the file row is an accessible option with a full-name aria-label, while its visible text is truncated with an ellipsis.
  4. The Share test's row(page, name) helper searches the visible text for the full name.

Expected: the Share flow locates the exact file by its accessible name and opens its dialog.
Actual: the row is present and named correctly, but hasText cannot match the full name against the intentionally truncated DOM text; the test times out before checking the dialog.
Evidence: artifacts/bash-core/share/long-name-probe.txt; focused real-server probe using target/tmp/share-longname-diagnostic.mjs.
Severity: minor (stale E2E locator; the product row remains accessible).

Steps: 1. Run `bun e2e/share.mjs` against a fresh local server. 2. Upload a file named with 120 `A` characters plus `.txt` through the API. 3. Open `/files?path=Trip`; the file row is an accessible `option` with a full-name `aria-label`, while its visible text is truncated with an ellipsis. 4. The Share test's `row(page, name)` helper searches the visible text for the full name. Expected: the Share flow locates the exact file by its accessible name and opens its dialog. Actual: the row is present and named correctly, but `hasText` cannot match the full name against the intentionally truncated DOM text; the test times out before checking the dialog. Evidence: `artifacts/bash-core/share/long-name-probe.txt`; focused real-server probe using `target/tmp/share-longname-diagnostic.mjs`. Severity: minor (stale E2E locator; the product row remains accessible).
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1290
No description provided.