The editor control logic is undergoing migration to TypeScript. This task is required to establish a robust end-to-end (e2e) test suite using Playwright. This suite serves as a critical functional contract, which must be locked down before merging large editor migration code to prevent regressions in the new codebase.
Scope:
- Suite 1: note-add roundtrip (type, click Add, assert payload, assert field clears)
- Suite 2: sticky field toggle (click badge, assert API call)
- Suite 3: paste HTML filtering (
<p> in → <div> out, no <script> passes through)
The editor control logic is undergoing migration to TypeScript. This task is required to establish a robust end-to-end (e2e) test suite using Playwright. This suite serves as a critical functional contract, which must be locked down before merging large editor migration code to prevent regressions in the new codebase.
Scope:
<p>in →<div>out, no<script>passes through)