Skip to content
  1. Home
  2. workspace
Checking…
Public view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, files, terminal and preview in one place. Chat sessions run on a durable Postgres-backed queue (chat only: no tools or shell). Live models need an API key; the terminal is unavailable.

Project files

read-only

app/qa/lower.mjs

1import { chromium } from "playwright";
2const b = await chromium.launch(); const out = "/tmp/claude-1002/shots"; import fs from "fs"; fs.mkdirSync(out,{recursive:true});
3let fails = 0; const ck=(n,ok)=>{ if(!ok) fails++; console.log(ok?"ok ":"FAIL",n); };
4for (const [name, vp, reduced] of [["desktop",{width:1366,height:800},false],["mobile",{width:390,height:800},false],["reduced",{width:1366,height:800},true]]) {
5 const ctx = await b.newContext({ viewport: vp, ignoreHTTPSErrors: true, reducedMotion: reduced ? "reduce" : "no-preference" }); const p = await ctx.newPage();
6 const errs=[]; p.on("pageerror", e=>errs.push(e.message));
7 await p.goto("https://127.0.0.1:8443/", { waitUntil: "load" }).catch(()=>p.goto("http://127.0.0.1:8080/"));
8 await p.waitForTimeout(1800);
9 const tl = p.locator(".mk-tl");
10 if (reduced) { ck("reduced: all timeline rows visible", await p.locator('.mk-tl-row[data-on="0"]').count()===0); }
11 else { await tl.scrollIntoViewIfNeeded(); await p.waitForTimeout(300); let early = 0; for (let k = 0; k < 12 && !(early >= 1); k++) { await p.waitForTimeout(150); early = await p.locator('.mk-tl-row[data-on="1"]').count(); } ck(name+": timeline starts revealing ("+early+")", early>=1&&early<6); await p.waitForTimeout(3500); ck(name+": timeline completes", await p.locator('.mk-tl-row[data-on="1"]').count()===6); }
12 for (const e of await p.locator(".mk-sec").all()) { await e.scrollIntoViewIfNeeded(); await p.waitForTimeout(250); } await p.waitForTimeout(900);
13 ck(name+": 6 security cards visible", (await p.locator(".mk-sec").evaluateAll(els=>els.filter(e=>+getComputedStyle(e).opacity>.99).length))===6);
14 await p.screenshot({path:`${out}/sec-${name}.png`});
15 const d = p.locator(".mk-faq").first(); await d.scrollIntoViewIfNeeded(); await d.locator("summary").click(); await p.waitForTimeout(500); ck(name+": faq opens", await d.evaluate(e=>e.open));
16 await p.screenshot({path:`${out}/faq-${name}.png`});
17 await p.locator("section:has(.mk-orb)").scrollIntoViewIfNeeded(); await p.waitForTimeout(1200); await p.screenshot({path:`${out}/cta-${name}.png`});
18 ck(name+": no horizontal overflow", await p.evaluate(()=>document.documentElement.scrollWidth<=innerWidth+1));
19 ck(name+": no page errors", errs.length===0);
20 await ctx.close();
21}
22await b.close(); console.log("fails",fails);
23

Conversation

Partial
Sign in to start AI sessions.

Task checklist

  • Application shell deployed
  • Persistent projects
  • Agent runtime
  • Sandboxed terminal

Execution activity

No agent sessions. Git HEAD a177d6e on master.

Approval requests

None pending.