AI Engineering Workspace
PartialChat, 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- ..
- assets
- basic-languages
- editor
- language
- nls
- abap-D-t0cyap.js
- apex-CcIm7xu6.js
- azcli-BA0tQDCg.js
- bat-C397hTD6.js
- bicep-DF5aW17k.js
- cameligo-plsz8qhj.js
- clojure-Y2auQMzK.js
- coffee-Bu45yuWE.js
- cpp-CkKPQIni.js
- csharp-CX28MZyh.js
- csp-D8uWnyxW.js
- css-CaeNmE3S.js
- css.worker-C7XcYe5x.js
- cssMode-DpEkhVlW.js
- cypher-DVThT8BS.js
- dart-CmGfCvrO.js
- dockerfile-CZqqYdch.js
- ecl-30fUercY.js
- editor-CG9c2pE-.js
- editor.js
- elixir-O3PRlgxO.js
- flow9-DqtmStfK.js
- freemarker2-DTUDMAl2.js
- fsharp-BOMdg4U1.js
- go-D_hbi-Jt.js
- graphql-CKUU4kLG.js
- handlebars-qLqoXa-4.js
- hcl-DTaboeZW.js
- html-DTxBj26n.js
- html.worker-VIR_LTyv.js
- htmlMode-DFBg6CMj.js
- index-BVflv2uG.js
- index.js
- ini--YXggpAu.js
- java-CI4ZMsH9.js
- javascript-BiL3JN6i.js
- json.worker-DzWXGkG8.js
- jsonMode-Dz4r0pwo.js
- julia-BwzEvaQw.js
- kotlin-IUYPiTV8.js
- less-C0eDYdqa.js
- lexon-iON-Kj97.js
- liquid-lXEUQRVn.js
- loader.js
- lspLanguageFeatures-IeRAvoKK.js
- lua-DtygF91M.js
- m3-CsR4AuFi.js
- markdown-C_rD0bIw.js
- mdx-Dtr248s4.js
- mips-CiYP61RB.js
- monaco.contribution-BRs4bdz5.js
- monaco.contribution-ChoOM5Gg.js
- monaco.contribution-DbKqsbmO.js
- monaco.contribution-DKFaWvum.js
- msdax-C38-sJlp.js
- mysql-CdtbpvbG.js
- nls.messages-loader.js
- objective-c-CntZFaHX.js
- pascal-r6kuqfl_.js
- pascaligo-BiXoTmXh.js
- perl-DABw_TcH.js
- pgsql-me_jFXeX.js
- php-D_kh-9LK.js
- pla-VfZjczW0.js
- postiats-BBSzz8Pk.js
- powerquery-Dt-g_2cc.js
- powershell-B-7ap1zc.js
- protobuf-BmtuEB1A.js
- pug-BRpRNeEb.js
- python-Cma5OvNe.js
- qsharp-BzsFaUU9.js
- r-f8dDdrp4.js
- razor-C8pOqqry.js
- redis-fvZQY4PI.js
- redshift-45Et0LQi.js
- restructuredtext-C7UUFKFD.js
- ruby-CZO8zYTz.js
- rust-Bfetafyc.js
- sb-3GYllVck.js
- scala-foMgrKo1.js
- scheme-CHdMtr7p.js
- scss-C1cmLt9V.js
- shell-ClXCKCEW.js
- solidity-MZ6ExpPy.js
- sophia-DWkuSsPQ.js
- sparql-AUGFYSyk.js
- sql-32GpJSV2.js
- st-CuDFIVZ_.js
- swift-t-PfMj7W.js
- systemverilog-Ch4vA8Yt.js
- tcl-D74tq1nH.js
- toggleHighContrast-CmI6H2gJ.js
- ts.worker-Dp2_QI6H.js
- tsMode-DgC3tGu_.js
- twig-C6taOxMV.js
- typescript-PjDChiYw.js
- typespec-D-PIh9Xw.js
- vb-Dyb2648j.js
- wgsl-BhLXMOR0.js
- workers-B_Zs9c54.js
- xml-BgCkTIhY.js
- yaml-D0tu26m-.js
app/qa/services.mjs
1// Services pages QA (Chromium). usage: node qa/services.mjs [base]2import { chromium } from "playwright"; import fs from "node:fs"; import path from "node:path";3const BASE = process.argv[2] ?? "https://cloud.zoobd.com"; const R = []; const rec = (n, ok, d = "") => { R.push({ name: n, ok: !!ok }); console.log((ok ? "PASS " : "FAIL ") + n + (ok ? "" : " -> " + d)); };4const SLUGS = ["cloud-vps", "managed-web-hosting", "bring-your-own-server", "ai-powered-development", "one-click-marketplace", "remote-server-management", "infrastructure-monitoring", "security-and-privacy"];5const b = await chromium.launch(); const errs = [];6const mk = async (o = {}) => { const c = await b.newContext({ viewport: { width: 1280, height: 900 }, ...o }); const p = await c.newPage(); p.on("pageerror", e => errs.push(e.message)); p.on("console", m => { if (m.type() === "error") errs.push(m.text()); }); return { c, p }; };7{ const { c, p } = await mk(); await p.goto(BASE + "/services", { waitUntil: "networkidle" });8 rec("index lists all 8 services", (await p.locator("a[href^='/services/']").count()) === 8);9 rec("index groups by real status (1 available, 2 experimental, 5 upcoming)", await p.evaluate(() => [...document.querySelectorAll("section[aria-labelledby]")].map(s => s.querySelectorAll("a[href^='/services/']").length).join(",") === "1,2,5"));10 await p.goto(BASE + "/", { waitUntil: "networkidle" }); const land = await p.locator("#services article").evaluateAll(a => a.map(x => [x.querySelector("h3").textContent, /Available|Experimental|Upcoming/.exec(x.textContent)[0]]));11 rec("landing cards link to a details page", (await p.locator("#services article a[href^='/services/']").count()) === 8);12 await p.evaluate(() => 0); const labels = {}; for (const s of SLUGS) { await p.goto(BASE + "/services/" + s, { waitUntil: "domcontentloaded" }); labels[s] = [await p.locator("h1").innerText(), (await p.locator("header .inline-flex").first().innerText()).trim()]; }13 rec("detail page status matches landing label for every service", land.every(([n, st]) => Object.values(labels).some(([hn, hs]) => hn === n && hs === st)), JSON.stringify(land.filter(([n, st]) => !Object.values(labels).some(([hn, hs]) => hn === n && hs === st))));14 await c.close(); }15for (const s of SLUGS) { const { c, p } = await mk(); const r = await p.goto(BASE + "/services/" + s, { waitUntil: "networkidle" });16 const t = await p.locator("main").innerText();17 rec(`${s}: 200, one h1, all 7 sections, breadcrumb`, r.status() === 200 && (await p.locator("h1").count()) === 1 && (await p.locator("article h2").count()) === 7 && (await p.locator("nav[aria-label=Breadcrumb]").count()) === 1);18 rec(`${s}: no prices, uptime numbers or certification claims`, !/[$€£]\s?\d|\d+\s?%\s?uptime|99\.\d|soc ?2 (certified|compliant)|iso ?27001 (certified|compliant)/i.test(t));19 rec(`${s}: states current limits and what exists today`, /Known limits/.test(t) && /What exists today/.test(t));20 rec(`${s}: internal links resolve`, await (async () => { const hs = await p.locator("main a[href^='/']").evaluateAll(a => [...new Set(a.map(x => x.getAttribute("href")))]); for (const h of hs) { const x = await c.request.get(BASE + h); if (x.status() !== 200) return false; } return true; })());21 rec(`${s}: anchor targets exist`, await p.evaluate(() => [...document.querySelectorAll("a[href^='#']")].every(a => document.querySelector(a.getAttribute("href"))))); await c.close(); }22{ const { c, p } = await mk({ viewport: { width: 390, height: 844 }, isMobile: true, hasTouch: true }); for (const u of ["/services", ...SLUGS.map(s => "/services/" + s)]) { await p.goto(BASE + u, { waitUntil: "networkidle" }); if (!(await p.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1))) { rec("mobile no overflow " + u, false); } }23 rec("mobile: no horizontal overflow on index + all detail pages", !R.some(r => r.name.startsWith("mobile no overflow"))); await c.close(); }24{ const { c, p } = await mk({ viewport: { width: 768, height: 1024 } }); let ok = true; for (const u of ["/services", "/services/cloud-vps"]) { await p.goto(BASE + u, { waitUntil: "networkidle" }); ok = ok && await p.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1); } rec("tablet 768: no overflow", ok); await c.close(); }25{ const { c, p } = await mk(); const n0 = errs.length; const r = await p.goto(BASE + "/services/does-not-exist"); await p.waitForTimeout(300); errs.length = n0; /* expected 404 message */ rec("unknown slug returns 404", r.status() === 404, String(r.status()));26 await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.getByRole("link", { name: "Services" }).first().click(); await p.waitForURL("**/services"); rec("header Services link opens the hub", /\/services$/.test(p.url()));27 await p.goto(BASE + "/services/managed-web-hosting"); await p.keyboard.press("Tab"); rec("keyboard focus works on detail page", !!(await p.evaluate(() => document.activeElement?.textContent))); await c.close(); }28{ const { c, p } = await mk({ javaScriptEnabled: false }); await p.goto(BASE + "/services/bring-your-own-server"); rec("no-JS: full content renders", (await p.locator("article h2").count()) === 7); await c.close(); }29rec("no console/page errors across pages", errs.length === 0, errs.slice(0, 3).join(" | "));30await b.close(); const pass = R.filter(r => r.ok).length; console.log(`\n${pass}/${R.length} services-page checks passed (Chromium only)`);31fs.writeFileSync(path.resolve("../design/verification/services.json"), JSON.stringify({ at: new Date().toISOString(), total: R.length, passed: pass, failed: R.length - pass, results: R }, null, 1)); process.exit(pass === R.length ? 0 : 1);32
Conversation
PartialSign in to start AI sessions.
Task checklist
- Application shell deployed
- Persistent projects
- Agent runtime
- Sandboxed terminal
Execution activity
No agent sessions. Git HEAD 692573d on master.
Approval requests
None pending.