Canvix — Free & open-source graphic design tool. A community-built Canva alternative with a drag-and-drop editor, templates, shapes, text, images & one-click export. Works on desktop, tablet & mobile.
TypeScript canva-alternativecanvasdesigndesign-tooldrag-and-dropeditorgraphic-designkonvanextjsopen-sourcereactself-hostedtemplatestypescript
fix(e2e): the reproduction spec saved screenshots to a sandbox-only (#90)
Ashiq Hussain Mirb8fc5227288c
diff --git a/tests/e2e/unified-ai-reproduction.spec.ts b/tests/e2e/unified-ai-reproduction.spec.tsindex 5f6209d..fde0797 100644--- a/tests/e2e/unified-ai-reproduction.spec.ts+++ b/tests/e2e/unified-ai-reproduction.spec.ts@@ -182,7 +182,7 @@ test.describe('Unified Canvix AI reproduction (v0.32.2 fix)', () => {// the chat reports the create run honestly (a normal done, no INCOMPLETE)await expect(page.getByText('Coffee-launch Instagram post created', { exact: false })).toBeVisible({ timeout: 10_000 })- await page.screenshot({ path: '/home/z/my-project/download/repro-created.png', fullPage: false })+ await page.screenshot({ path: 'test-results/repro-created.png', fullPage: false })// ── reopen: the created design survives with its elements ──await openEditor(page, designId)@@ -205,6 +205,6 @@ test.describe('Unified Canvix AI reproduction (v0.32.2 fix)', () => {expect(headline.fontSize).toBe(96)expect(headline.locked).toBeFalsy()- await page.screenshot({ path: '/home/z/my-project/download/repro-edited.png', fullPage: false })+ await page.screenshot({ path: 'test-results/repro-edited.png', fullPage: false })})})