Environment: real web dev stack, Chromium, 1280×800, light appearance; fresh isolated databases seeded through t3.project and t3.thread with Replay (dev).

Steps: body-focus Escape control; for Interface and Monospace font family fields, focus unchanged and press Escape; reopen, replace with Georg and immediately press Escape to discard; press Escape a second and third time. Wait for UI animations before captures.

### Scenario: Escape discards font drafts and closes Settings when clean

**Proven: the scenario fails on base [cad8cd0937](https://github.com/pingdotgg/t3code/commit/cad8cd0937cd5e9d249e9cca065ad4642b8c1ffa) and passes on head [846fa2147e](https://github.com/pingdotgg/t3code/commit/846fa2147e2bab5cde1197384db21f713b83b628).**

|  | Base [cad8cd0937](https://github.com/pingdotgg/t3code/commit/cad8cd0937cd5e9d249e9cca065ad4642b8c1ffa) | Head [846fa2147e](https://github.com/pingdotgg/t3code/commit/846fa2147e2bab5cde1197384db21f713b83b628) |
| --- | --- | --- |
| Result | ❌ failed<br>ASSERTION_FAILED: expected {"bodyCloses":true,"Interface font clean closes":false,"Interface font draft discarded without closing":true,"Interface font second closes":false,"Monospace font clean closes":false,"Monospace font draft discarded without closing":true,"Monospace font second closes":false} to equal {"bodyCloses":true,"Interface font clean closes":true,"Interface font draft discarded without closing":true,"Interface font second closes":true,"Monospace font clean closes":true,"Monospace font draft discarded without closing":true,"Monospace font second closes":true} | ✅ passed |
| control body escape | ![Base cad8cd0937: control body escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/fb6052e3f1733f80/001-control-body-escape.png) | ![Head 846fa2147e: control body escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0370aaaabc73845e/001-control-body-escape.png) |
| Interface_font unchanged escape | ![Base cad8cd0937: Interface_font unchanged escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e96638fc890b2b89/002-Interface_font-unchanged-escape.png) | ![Head 846fa2147e: Interface_font unchanged escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0fe2c0a95e255b4c/002-Interface_font-unchanged-escape.png) |
| Interface_font draft discarded | ![Base cad8cd0937: Interface_font draft discarded](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/51ad2a0ea80281e5/003-Interface_font-draft-discarded.png) | ![Head 846fa2147e: Interface_font draft discarded](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ad3f7ae08e52c52e/003-Interface_font-draft-discarded.png) |
| Interface_font second escape | ![Base cad8cd0937: Interface_font second escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/98da0f50a0cd4c37/004-Interface_font-second-escape.png) | ![Head 846fa2147e: Interface_font second escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a3788361baec0bcc/004-Interface_font-second-escape.png) |
| Interface_font third escape | ![Base cad8cd0937: Interface_font third escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/388ab00b817fc2a6/005-Interface_font-third-escape.png) | ![Head 846fa2147e: Interface_font third escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/d788e233eee6fc19/005-Interface_font-third-escape.png) |
| Monospace_font unchanged escape | ![Base cad8cd0937: Monospace_font unchanged escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e0aa69e4d999a3b5/006-Monospace_font-unchanged-escape.png) | ![Head 846fa2147e: Monospace_font unchanged escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/b2514fcef43e72d6/006-Monospace_font-unchanged-escape.png) |
| Monospace_font draft discarded | ![Base cad8cd0937: Monospace_font draft discarded](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/50ab8d034c494ae3/007-Monospace_font-draft-discarded.png) | ![Head 846fa2147e: Monospace_font draft discarded](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/3f86afce68fa938a/007-Monospace_font-draft-discarded.png) |
| Monospace_font second escape | ![Base cad8cd0937: Monospace_font second escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/214283aa88981c0d/008-Monospace_font-second-escape.png) | ![Head 846fa2147e: Monospace_font second escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a74ceb083700bd00/008-Monospace_font-second-escape.png) |
| Monospace_font third escape | ![Base cad8cd0937: Monospace_font third escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/9b5880821a44a892/009-Monospace_font-third-escape.png) | ![Head 846fa2147e: Monospace_font third escape](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/84e519d18f4264a1/009-Monospace_font-third-escape.png) |
| failure | ![Base cad8cd0937: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/cc1e731e0efd270c/010-failure.png) |  |

| Before recording | After recording |
| --- | --- |
| [Base recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/c9e0ca1774f4d583/video.webm) | [Head recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/7067e5d519c12c58/video.webm) |

[Scenario source](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/016ba94cc202dd9e/font-family-clean-escape.e2e.ts)
