Skip to content

test(e2e): keep fuzz clicks inside editor content - #6

Merged
boojack merged 3 commits into
mainfrom
codex/fix-fuzz-click-target
Nov 15, 2026
Merged

boojack merged 3 commits into
mainfrom
codex/fix-fuzz-click-target

Conversation

@boojack

@boojack boojack commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

WebKit nightly Fuzz seed 2026111522 clicked the playground's sticky Read-only button instead of editor content. The editor then correctly refused undo, causing a misleading history failure. Instrumentation confirmed isEditable changed from true to false on that click, while undo history remained intact.

Center the target in view, choose the random coordinate, and check document.elementFromPoint before sending the native mouse click. Points outside the editor, including clipped coordinates and playground controls, are logged as outside-editor attempts. Check after every editing step that the editor remains editable. Add regression seeds 2026111522 and 2026111526; keep all existing view, Markdown round-trip, and undo/redo assertions.

Validation: full CI passed on dabde15 and merged main 8aae727; all 90 fresh nightly Fuzz cases passed (30 per browser), and all 27 fixed-seed cases passed on the CI Playwright Linux image.

Nightly Fuzz: https://github.com/usememos/editor/actions/runs/43669216213
Main CI: https://github.com/usememos/editor/actions/runs/43669520183

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4edce299-28e8-4624-bf34-dca514bb75a9
Commits

Reviewing files that changed from the base of the PR and between d7d76c0 and dabde15.

Files selected for processing: 1

  • e2e/fuzz.spec.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@boojack
boojack merged commit 8aae727 into main Nov 15, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant