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
- CI / Typecheck and bundlesuccess
- CI / Unit tests (1/2)success
- CI / Unit tests (2/2)success
- End-to-end / End-to-end (agent reviews, tasks, Today)success
- End-to-end / End-to-end (git, PRs, Actions)success
- End-to-end / End-to-end (large pushes)success
- End-to-end / End-to-end (passkeys, registry, email)success
- End-to-end / End-to-end (real histories)success
- End-to-end / End-to-end (runner Docker)success
- End-to-end / End-to-end (security)success
1 file changed+7−0
modifiedapps/diffinery/test/e2e/editor-smoke.mjs+7−0View file
| @@ -251,6 +251,13 @@ | ||
| 251 | 251 | assert.match(await page.textContent("body"), /You're signed in to Diffinery/); |
| 252 | 252 | if (SHOTS) await page.screenshot({ path: join(SHOTS, "3b-signed-in.png") }); |
| 253 | 253 | 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"); | |
| 254 | 261 | await browser.close(); |
| 255 | 262 | |
| 256 | 263 | // 3. Signed in: the picker lists ada's repositories; search narrows it. |