Diffinery

codician/diffinerypublic

Open-source, agent-first GitHub and GitHub Actions alternative that runs on your own Cloudflare account: git hosting, pull requests, code review and drop-in GitHub Actions YAML on Workers, Durable Objects, R2 and Containers.

Editor smoke test: the repository page's Open in VS Code, Cursor, Windsurf and IntelliJ IDEA links

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VQ3j7radTeNPDXuJ936W3K
Claude authored signed1 parent 43a8737commit 11b484eb44bbbb78ee6e4bf36ac6e79ac0a23906Browse files
1 file changed+7−0
modifiedapps/diffinery/test/e2e/editor-smoke.mjs+7−0View file
@@ -251,6 +251,13 @@
251251 assert.match(await page.textContent("body"), /You're signed in to Diffinery/);
252252 if (SHOTS) await page.screenshot({ path: join(SHOTS, "3b-signed-in.png") });
253253 console.log("browser: signed in page shown");
254+// The repository page offers the editors' own clone links.
255+await page.goto(`${base}/ada/hello-editor`);
256+const cloneUrl = encodeURIComponent(`${base}/ada/hello-editor.git`);
257+for (const scheme of ["vscode", "cursor", "windsurf"]) assert.ok(await page.$(`a[href="${scheme}://vscode.git/clone?url=${cloneUrl}"]`), `Open in ${scheme} link`);
258+assert.ok(await page.$(`a[href^="jetbrains://idea/checkout/git?"]`), "Open in IntelliJ IDEA link");
259+if (SHOTS) await page.screenshot({ path: join(SHOTS, "3c-repo-page.png"), fullPage: true });
260+console.log("repository page: Open in VS Code, Cursor, Windsurf and IntelliJ IDEA links");
254261 await browser.close();
255262
256263 // 3. Signed in: the picker lists ada's repositories; search narrows it.