P1e: persist undo and redo history across reloads

This commit is contained in:
Emil
2026-11-01 01:53:05 +03:00
parent 346035e869
commit 9d84c2f162
9 changed files with 113 additions and 16 deletions
+1 -1
View File
@@ -19,5 +19,5 @@ const report = await page.evaluate(() => ({
}));
await page.screenshot({ path: '../preview-p1b-restored.png' });
console.log(JSON.stringify({ report, errors }, null, 2));
if (!report.cores.length || !report.patternFace || report.undoDisabled === false || errors.length) process.exit(1);
if (!report.cores.length || !report.patternFace || errors.length) process.exit(1);
await browser.close();