Editor adversarial Copy-link locator does not match the deployed label #1528

Open
opened 2026-10-09 12:13:32 +00:00 by kayg · 0 comments
Owner

Merge round #1526 found an inherited adversarial harness mismatch.

Verbatim finding (seed 25608414):

FINDING editor browser editor paste, Unicode, and block actions seed=25608414: click: Timeout 30000ms exceeded.
Call log:
  - waiting for getByRole('menuitem', { name: /Copy link to block/ })

tests/adversarial/editor.mjs:589 requires /Copy link to block/. The production 5a2c02c13 apps/web/src/lib/notes/NoteView.svelte defines that item as Copy link to this block. The same definition is unchanged on merge36. The regular expression cannot match that label because it does not allow this .

The nearby editor probes passed byte and mtime stability, nested Markdown, 10,000 blocks, a one-megabyte paragraph, concurrent same-block writes, offline reconciliation, external body writes, and restart recovery. This locator stops the block-action scenario before the action runs; it is not evidence that the Copy link action failed.

The owner rule forbids changing existing test expectations without an issue that changes the behavior. Keep the current assertion in merge36. Confirm the intended accessible label, then fix this harness and rerun the block-action scenario.

Merge round #1526 found an inherited adversarial harness mismatch. Verbatim finding (seed 25608414): ``` FINDING editor browser editor paste, Unicode, and block actions seed=25608414: click: Timeout 30000ms exceeded. Call log: - waiting for getByRole('menuitem', { name: /Copy link to block/ }) ``` `tests/adversarial/editor.mjs:589` requires `/Copy link to block/`. The production 5a2c02c13 `apps/web/src/lib/notes/NoteView.svelte` defines that item as `Copy link to this block`. The same definition is unchanged on merge36. The regular expression cannot match that label because it does not allow `this `. The nearby editor probes passed byte and mtime stability, nested Markdown, 10,000 blocks, a one-megabyte paragraph, concurrent same-block writes, offline reconciliation, external body writes, and restart recovery. This locator stops the block-action scenario before the action runs; it is not evidence that the Copy link action failed. The owner rule forbids changing existing test expectations without an issue that changes the behavior. Keep the current assertion in merge36. Confirm the intended accessible label, then fix this harness and rerun the block-action scenario.
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#1528
No description provided.