diff --git a/scripts/e2e.config.ts b/scripts/e2e.config.ts index 4f96f6a518..d238082465 100644 --- a/scripts/e2e.config.ts +++ b/scripts/e2e.config.ts @@ -152,7 +152,7 @@ export default { targets: [ { name: "web", - engine: web({ viewport: { width: 1280, height: 800 } }), + engine: web({ viewport: { width: 1600, height: 1000 } }), app: { url: `http://${LOOPBACK}:0`, // Lets a scenario put an image on the clipboard for a real keyboard paste. diff --git a/scripts/scenarios/start-app.ts b/scripts/scenarios/start-app.ts index 188b2da203..9f8be54848 100644 --- a/scripts/scenarios/start-app.ts +++ b/scripts/scenarios/start-app.ts @@ -23,7 +23,7 @@ import { ScenarioError } from "./shell.ts"; // The dev runner's web port is 5733 plus an offset. Mirror of BASE_WEB_PORT in dev-runner.ts. const BASE_WEB_PORT = 5733; // The replay agent `vp run dev` registers: free, recorded turns through the real adapter. -const REPLAY = { instanceId: "devReplay", model: "showcase" }; +const REPLAY = { instanceId: "devReplay", model: "multi-turn" }; // Generated text (titles) cannot go to the replay agent: the server swaps an ACP agent for the // first enabled real provider, else its default, Codex. So every provider it could fall back to // is off and Codex is a command that only fails: no run reaches a paid model. diff --git a/scripts/scenarios/t3.ts b/scripts/scenarios/t3.ts index 7855d6398e..ebd0632edf 100644 --- a/scripts/scenarios/t3.ts +++ b/scripts/scenarios/t3.ts @@ -174,7 +174,7 @@ export function makeState(home: string, env: NodeJS.ProcessEnv = {}) { directory: path.join(home, "workspaces"), prefix: "w-", }); - const workspace = path.join(parent, title); + const workspace = "/tmp/t3-proof"; for (const [file, content] of Object.entries({ "README.md": "", ...files })) { yield* fs.makeDirectory(path.dirname(path.join(workspace, file)), { recursive: true }); yield* typeof content === "string" @@ -185,7 +185,7 @@ export function makeState(home: string, env: NodeJS.ProcessEnv = {}) { const author = ["-c", "user.name=Scenario", "-c", "user.email=scenario@example.invalid"]; yield* git(["init", "--quiet", "--initial-branch=main"]); yield* git(["add", "--all"]); - yield* git([...author, "commit", "--quiet", "--message", "Initial commit"]); + yield* git([...author, "commit", "--quiet", "--allow-empty", "--message", "Initial commit"]); const created = yield* mutate({ type: "project.create", commandId: CommandId.make(yield* uuid),