* feat: add client-specific targeting for addToInput events - Add client-specific targeting for addToInput events - Update subscribeToAddToInput to accept client ID parameter - Replace global event broadcasting with targeted client messaging - Remove automatic sidebar focus when adding code to chat - Use last active webview instance for context menu actions - Maintain backward compatibility with subscription management * add changeset * remove debug profiler * e2e test * add type * Add e2e test * update teardown
33 lines
727 B
TypeScript
33 lines
727 B
TypeScript
import { defineConfig } from "@playwright/test"
|
|
|
|
const isCI = !!process?.env?.CI
|
|
const isWindow = process?.platform?.startsWith("win")
|
|
|
|
export default defineConfig({
|
|
workers: 1,
|
|
retries: 1,
|
|
testDir: "src/test/e2e",
|
|
timeout: isCI || isWindow ? 40000 : 20000,
|
|
expect: {
|
|
timeout: isCI || isWindow ? 5000 : 2000,
|
|
},
|
|
fullyParallel: true,
|
|
reporter: isCI ? [["github"], ["list"]] : [["list"]],
|
|
projects: [
|
|
{
|
|
name: "setup test environment",
|
|
testMatch: /global\.setup\.ts/,
|
|
teardown: "cleanup test environment",
|
|
},
|
|
{
|
|
name: "cleanup test environment",
|
|
testMatch: /global\.teardown\.ts/,
|
|
},
|
|
{
|
|
name: "e2e tests",
|
|
testMatch: /.*\.test\.ts/,
|
|
dependencies: ["setup test environment"],
|
|
},
|
|
],
|
|
})
|