e2e tests for engine (#322)

This commit is contained in:
Will Chen
2025-06-03 16:11:16 -07:00
committed by GitHub
parent 7235eab227
commit fc1ebe9e8a
10 changed files with 956 additions and 165 deletions

12
e2e-tests/engine.spec.ts Normal file
View File

@@ -0,0 +1,12 @@
import { test } from "./helpers/test_helper";
test("send message to engine", async ({ po }) => {
await po.setUpDyadPro();
// By default, it's using auto which points to Flash 2.5 and doesn't
// use engine.
await po.selectModel({ provider: "Google", model: "Gemini 2.5 Pro" });
await po.sendPrompt("[dump] tc=turbo-edits");
await po.snapshotServerDump("request");
await po.snapshotMessages({ replaceDumpPath: true });
});