diff --git a/scripts/e2e.config.ts b/scripts/e2e.config.ts index 4f96f6a518..6d8d41a1c3 100644 --- a/scripts/e2e.config.ts +++ b/scripts/e2e.config.ts @@ -1,4 +1,5 @@ // Scenarios: e2e tests that run against the real dev stack. See docs/internals/15_testing.md#scenarios. +import { imeBrowser } from "./scenarios/snooze-ime-browser.ts"; import * as NodeCrypto from "@effect/platform-node/NodeCrypto"; import * as NodeServices from "@effect/platform-node/NodeServices"; import { mobile, type DeviceProvider } from "@e2e-dev/mobile"; @@ -152,7 +153,7 @@ export default { targets: [ { name: "web", - engine: web({ viewport: { width: 1280, height: 800 } }), + engine: web({ browser: process.env.T3_IME_CDP_ENDPOINT_FILE ? imeBrowser : "chromium", viewport: { width: 1280, height: 800 } }), app: { url: `http://${LOOPBACK}:0`, // Lets a scenario put an image on the clipboard for a real keyboard paste.