Gateway e2e (#323)
This commit is contained in:
@@ -10,3 +10,21 @@ test("send message to engine", async ({ po }) => {
|
||||
await po.snapshotServerDump("request");
|
||||
await po.snapshotMessages({ replaceDumpPath: true });
|
||||
});
|
||||
|
||||
test("send message to gateway", async ({ po }) => {
|
||||
await po.setUpDyadPro();
|
||||
await po.selectModel({ provider: "Google", model: "Gemini 2.5 Flash" });
|
||||
await po.sendPrompt("[dump] tc=gateway-simple");
|
||||
|
||||
await po.snapshotServerDump("request");
|
||||
await po.snapshotMessages({ replaceDumpPath: true });
|
||||
});
|
||||
|
||||
// auto (defaults to Gemini 2.5 Flash)
|
||||
test("auto should send message to gateway", async ({ po }) => {
|
||||
await po.setUpDyadPro();
|
||||
await po.sendPrompt("[dump] tc=gateway-simple");
|
||||
|
||||
await po.snapshotServerDump("request");
|
||||
await po.snapshotMessages({ replaceDumpPath: true });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user