openpencil/tests/engine/app/document/io
Danila Poyarkov 85d8c69ccc
fix(app): keep opened documents saved until they are edited (#945)
* fix(app): keep opened documents saved until they are edited

Opening a .fig file lays out its first page, and every node:updated counted as a change, so the recomputed auto-layout sizes and positions marked the document unsaved right after it was marked saved. Updates made while the graph applies layout no longer count: layout only derives geometry, and an edit that relays out a page has already counted. A unit test runs a real layout pass, and an E2E test opens an auto-layout file and closes it without a save prompt.

* test(app): reach the fixture through testPath
2026-10-07 12:50:03 +00:00
..
browser.test.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
changes.test.ts fix(app): keep opened documents saved until they are edited (#945) 2026-10-07 12:50:03 +00:00
deep-link.test.ts feat: export components as Storybook stories (#751) 2026-09-30 03:16:47 +04:00
imported-document.test.ts feat(app): prepare documents atomically per tab (#592) 2026-08-30 12:21:49 +03:00
pending-open.test.ts feat: open documents and layers from openpencil:// and web links (#708) 2026-09-18 14:45:49 +03:00
source-identity.test.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
web-link.test.ts feat: export components as Storybook stories (#751) 2026-09-30 03:16:47 +04:00