File size: 4,838 Bytes
fd2c364 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | {
"$schema": "This file maps source code paths to mock-LLM E2E test subdirectories. The resolve-affected-tests.mjs script reads it to determine which tests to run for a given set of changed files.",
"testDir": "tests/e2e/mock-llm",
"mappings": [
{
"comment": "Settings UI, LLM profiles, agent config",
"sources": [
"src/components/features/settings/**",
"src/routes/llm-settings*.tsx",
"src/routes/agent-settings.tsx",
"src/routes/app-settings.tsx",
"src/routes/settings-layout.tsx"
],
"tests": ["settings"]
},
{
"comment": "Conversation flow, chat input, messages",
"sources": [
"src/components/features/chat/**",
"src/components/features/conversation/**",
"src/components/features/conversation-panel/**",
"src/components/features/images/**",
"src/components/features/controls/**",
"src/components/features/terminal/**",
"src/components/conversation-events/**",
"src/routes/conversation.tsx"
],
"tests": ["conversations"]
},
{
"comment": "Files tab, browser tab, git panels and controls",
"sources": [
"src/components/features/files-tab/**",
"src/components/features/files/**",
"src/components/features/browser/**",
"src/routes/files-tab.tsx",
"src/routes/browser-tab.tsx",
"src/api/git-service/**",
"src/stores/files-tab-store.ts",
"src/stores/browser-store.ts",
"src/utils/git-*.ts",
"src/utils/get-git-path.ts",
"src/utils/parse-git-remote-url.ts"
],
"tests": ["files"]
},
{
"comment": "Automations lifecycle, preset cards, and the manifest setup host",
"sources": [
"src/components/features/automations/**",
"src/components/features/manifest/**",
"src/manifests/**",
"src/mocks/automation-handlers.ts",
"src/routes/automations*.tsx",
"src/routes/automation-setup-route.tsx"
],
"tests": ["automations"]
},
{
"comment": "Onboarding modal and first-run flow",
"sources": ["src/components/features/onboarding/**"],
"tests": ["onboarding"]
},
{
"comment": "Backend management, auth, connectivity",
"sources": [
"src/components/features/backends/**",
"src/api/backend-registry/**",
"src/api/agent-server-compatibility.ts"
],
"tests": ["backends"]
},
{
"comment": "Home page, workspace selection, folder browser",
"sources": [
"src/components/features/home/**",
"src/components/features/launch/**",
"src/routes/home.tsx",
"src/stores/workspace*.ts"
],
"tests": ["home"]
},
{
"comment": "Skills loading and activation",
"sources": [
"src/components/features/skills/**",
"src/routes/skills.tsx",
"src/api/skills-service.*"
],
"tests": ["skills"]
},
{
"comment": "MCP marketplace and server management",
"sources": [
"src/components/features/mcp-page/**",
"src/routes/mcp*.tsx",
"src/utils/mcp-marketplace-utils.ts",
"src/mocks/mcp-handlers.ts"
],
"tests": ["mcp"]
},
{
"comment": "Canvas Extensions install, enable, page render, disable, uninstall",
"sources": [
"src/components/features/canvas-extensions/**",
"src/routes/canvas-extension*.tsx",
"src/api/canvas-extensions-service.ts",
"src/extensions/**",
"src/hooks/mutation/use-manage-canvas-extensions.ts",
"src/types/canvas-extension.ts",
"src/fixtures/canvas-extensions/**",
"src/mocks/canvas-extensions-handlers.ts"
],
"tests": ["canvas-extensions"]
}
],
"alwaysRun": ["regressions"],
"runAllSources": [
"src/api/agent-server-adapter.ts",
"src/api/agent-server-client-options.ts",
"src/api/agent-server-config.ts",
"src/api/option-service.*",
"src/api/settings-service.*",
"src/api/event-service.*",
"src/context/**",
"src/hooks/query/**",
"src/hooks/use-websocket.*",
"src/routes/root.tsx",
"src/routes/root-layout.tsx",
"src/root.tsx",
"src/entry.client.tsx",
"src/stores/event-store.*",
"public/**",
"scripts/**",
"bin/**",
"config/**",
"tests/e2e/mock-llm/test-mapping.json",
"tests/e2e/mock-llm/utils/**",
"tests/e2e/mock-llm/scripts/**",
"tests/e2e/mock-llm/reporters/**",
"tests/e2e/support/**",
"package.json",
"package-lock.json",
"vite.config.ts",
"tsconfig.json",
"react-router.config.ts",
"playwright.mock-llm.config.ts",
"tailwind.config.js",
"hero.ts",
".github/workflows/mock-llm-e2e.yml"
]
}
|