diff --git a/scripts/e2e.config.ts b/scripts/e2e.config.ts index b3fd86e879..4d98148f97 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: 1440, height: 1100 } }), 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 c22d692528..14044a4426 100644 --- a/scripts/scenarios/start-app.ts +++ b/scripts/scenarios/start-app.ts @@ -60,7 +60,7 @@ export const prepareHome = Effect.fn("startApp.prepareHome")(function* (home: st yield* fs.makeDirectory(path.join(home, "bin")); for (const command of ["hostnamectl", "scutil"]) { const shim = path.join(home, "bin", command); - yield* fs.writeFileString(shim, HOST_LABEL_SHIM); + yield* fs.writeFileString(shim, HOST_LABEL_SHIM.replace("Scenario", home.endsWith("-second-environment") ? "Environment B" : "Environment A")); yield* fs.chmod(shim, 0o755); } // Editor discovery is cached, so the recording shim must exist before the server starts.