diff --git a/cockpit/chat/a2ui/angular/e2e/c-a2ui.spec.ts b/cockpit/chat/a2ui/angular/e2e/c-a2ui.spec.ts index 21cf5ad19..86a2e73cc 100644 --- a/cockpit/chat/a2ui/angular/e2e/c-a2ui.spec.ts +++ b/cockpit/chat/a2ui/angular/e2e/c-a2ui.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('c-a2ui: LAX-JFK prompt renders a2ui-surface with form spec', async ({ page }) => { await submitAndWaitForResponse(page, 'I want to fly LAX to JFK'); diff --git a/cockpit/chat/a2ui/angular/e2e/global-setup-impl.ts b/cockpit/chat/a2ui/angular/e2e/global-setup-impl.ts index 5f5635f3f..75ecee0e6 100644 --- a/cockpit/chat/a2ui/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/a2ui/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/a2ui/python', diff --git a/cockpit/chat/a2ui/angular/e2e/tsconfig.json b/cockpit/chat/a2ui/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/a2ui/angular/e2e/tsconfig.json +++ b/cockpit/chat/a2ui/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/generative-ui/angular/e2e/c-generative-ui.spec.ts b/cockpit/chat/generative-ui/angular/e2e/c-generative-ui.spec.ts index cd1acd73f..58ced09da 100644 --- a/cockpit/chat/generative-ui/angular/e2e/c-generative-ui.spec.ts +++ b/cockpit/chat/generative-ui/angular/e2e/c-generative-ui.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('c-generative-ui: dashboard prompt renders chat-generative-ui surface', async ({ page }) => { await submitAndWaitForResponse(page, 'Show me a dashboard of airline operations.'); diff --git a/cockpit/chat/generative-ui/angular/e2e/global-setup-impl.ts b/cockpit/chat/generative-ui/angular/e2e/global-setup-impl.ts index f71ce1510..63b8921cd 100644 --- a/cockpit/chat/generative-ui/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/generative-ui/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/generative-ui/python', diff --git a/cockpit/chat/generative-ui/angular/e2e/tsconfig.json b/cockpit/chat/generative-ui/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/generative-ui/angular/e2e/tsconfig.json +++ b/cockpit/chat/generative-ui/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/input/angular/e2e/c-input.spec.ts b/cockpit/chat/input/angular/e2e/c-input.spec.ts index aad1402c4..1e00b1cb0 100644 --- a/cockpit/chat/input/angular/e2e/c-input.spec.ts +++ b/cockpit/chat/input/angular/e2e/c-input.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = 'Hello'; diff --git a/cockpit/chat/input/angular/e2e/global-setup-impl.ts b/cockpit/chat/input/angular/e2e/global-setup-impl.ts index fb41c3492..dca4800d8 100644 --- a/cockpit/chat/input/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/input/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/input/python', diff --git a/cockpit/chat/input/angular/e2e/tsconfig.json b/cockpit/chat/input/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/input/angular/e2e/tsconfig.json +++ b/cockpit/chat/input/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/interrupts/angular/e2e/c-interrupts.spec.ts b/cockpit/chat/interrupts/angular/e2e/c-interrupts.spec.ts index e5d27f3ba..02b1e2847 100644 --- a/cockpit/chat/interrupts/angular/e2e/c-interrupts.spec.ts +++ b/cockpit/chat/interrupts/angular/e2e/c-interrupts.spec.ts @@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'; import { sendPromptAndWaitForInterrupt, clickInterruptActionAndWaitFinal, -} from '../../../../../libs/e2e-harness/src'; +} from '@ngaf-internal/e2e-harness'; test('c-interrupts: confirm path books the flight via book_flight + resume("confirm")', async ({ page }) => { await sendPromptAndWaitForInterrupt(page, 'Book me on UA123.'); diff --git a/cockpit/chat/interrupts/angular/e2e/global-setup-impl.ts b/cockpit/chat/interrupts/angular/e2e/global-setup-impl.ts index 13606a46f..39177a1e6 100644 --- a/cockpit/chat/interrupts/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/interrupts/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ // Per-cap cleanup PR: each chat cap runs its OWN standalone backend diff --git a/cockpit/chat/interrupts/angular/e2e/tsconfig.json b/cockpit/chat/interrupts/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/interrupts/angular/e2e/tsconfig.json +++ b/cockpit/chat/interrupts/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/messages/angular/e2e/c-messages.spec.ts b/cockpit/chat/messages/angular/e2e/c-messages.spec.ts index a5296986f..24d8a3c63 100644 --- a/cockpit/chat/messages/angular/e2e/c-messages.spec.ts +++ b/cockpit/chat/messages/angular/e2e/c-messages.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = 'Hello'; diff --git a/cockpit/chat/messages/angular/e2e/global-setup-impl.ts b/cockpit/chat/messages/angular/e2e/global-setup-impl.ts index 4dd2510db..4855b8df4 100644 --- a/cockpit/chat/messages/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/messages/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/messages/python', diff --git a/cockpit/chat/messages/angular/e2e/tsconfig.json b/cockpit/chat/messages/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/messages/angular/e2e/tsconfig.json +++ b/cockpit/chat/messages/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/subagents/angular/e2e/c-subagents.spec.ts b/cockpit/chat/subagents/angular/e2e/c-subagents.spec.ts index 5baf3426e..e2b684acd 100644 --- a/cockpit/chat/subagents/angular/e2e/c-subagents.spec.ts +++ b/cockpit/chat/subagents/angular/e2e/c-subagents.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = 'Plan a trip from LAX to JFK'; diff --git a/cockpit/chat/subagents/angular/e2e/global-setup-impl.ts b/cockpit/chat/subagents/angular/e2e/global-setup-impl.ts index 35b9dcf54..5fd162a69 100644 --- a/cockpit/chat/subagents/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/subagents/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ // Per-cap cleanup PR: each chat cap runs its OWN standalone backend diff --git a/cockpit/chat/subagents/angular/e2e/tsconfig.json b/cockpit/chat/subagents/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/subagents/angular/e2e/tsconfig.json +++ b/cockpit/chat/subagents/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/theming/angular/e2e/c-theming.spec.ts b/cockpit/chat/theming/angular/e2e/c-theming.spec.ts index 4cc5f725d..3bfe1d158 100644 --- a/cockpit/chat/theming/angular/e2e/c-theming.spec.ts +++ b/cockpit/chat/theming/angular/e2e/c-theming.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = 'Hello'; diff --git a/cockpit/chat/theming/angular/e2e/global-setup-impl.ts b/cockpit/chat/theming/angular/e2e/global-setup-impl.ts index 51b254272..4b8d21278 100644 --- a/cockpit/chat/theming/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/theming/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/theming/python', diff --git a/cockpit/chat/theming/angular/e2e/tsconfig.json b/cockpit/chat/theming/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/theming/angular/e2e/tsconfig.json +++ b/cockpit/chat/theming/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/threads/angular/e2e/c-threads.spec.ts b/cockpit/chat/threads/angular/e2e/c-threads.spec.ts index 1592909a7..3d7439e23 100644 --- a/cockpit/chat/threads/angular/e2e/c-threads.spec.ts +++ b/cockpit/chat/threads/angular/e2e/c-threads.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = 'Hello'; diff --git a/cockpit/chat/threads/angular/e2e/global-setup-impl.ts b/cockpit/chat/threads/angular/e2e/global-setup-impl.ts index 42d856613..84b0759a6 100644 --- a/cockpit/chat/threads/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/threads/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/threads/python', diff --git a/cockpit/chat/threads/angular/e2e/tsconfig.json b/cockpit/chat/threads/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/threads/angular/e2e/tsconfig.json +++ b/cockpit/chat/threads/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/timeline/angular/e2e/c-timeline.spec.ts b/cockpit/chat/timeline/angular/e2e/c-timeline.spec.ts index 8abcb2d64..beff5824f 100644 --- a/cockpit/chat/timeline/angular/e2e/c-timeline.spec.ts +++ b/cockpit/chat/timeline/angular/e2e/c-timeline.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = 'Hello'; diff --git a/cockpit/chat/timeline/angular/e2e/global-setup-impl.ts b/cockpit/chat/timeline/angular/e2e/global-setup-impl.ts index 09a9de544..f2032b798 100644 --- a/cockpit/chat/timeline/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/timeline/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/chat/timeline/python', diff --git a/cockpit/chat/timeline/angular/e2e/tsconfig.json b/cockpit/chat/timeline/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/timeline/angular/e2e/tsconfig.json +++ b/cockpit/chat/timeline/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/chat/tool-calls/angular/e2e/c-tool-calls.spec.ts b/cockpit/chat/tool-calls/angular/e2e/c-tool-calls.spec.ts index 306870106..76635740a 100644 --- a/cockpit/chat/tool-calls/angular/e2e/c-tool-calls.spec.ts +++ b/cockpit/chat/tool-calls/angular/e2e/c-tool-calls.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; const PROMPT = "What's the status of UA123?"; diff --git a/cockpit/chat/tool-calls/angular/e2e/global-setup-impl.ts b/cockpit/chat/tool-calls/angular/e2e/global-setup-impl.ts index e4875af7e..eff98df90 100644 --- a/cockpit/chat/tool-calls/angular/e2e/global-setup-impl.ts +++ b/cockpit/chat/tool-calls/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ // Per-cap cleanup PR: each chat cap runs its OWN standalone backend diff --git a/cockpit/chat/tool-calls/angular/e2e/tsconfig.json b/cockpit/chat/tool-calls/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/chat/tool-calls/angular/e2e/tsconfig.json +++ b/cockpit/chat/tool-calls/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/deep-agents/filesystem/angular/e2e/da-filesystem.spec.ts b/cockpit/deep-agents/filesystem/angular/e2e/da-filesystem.spec.ts index c982b6a69..2641b3a56 100644 --- a/cockpit/deep-agents/filesystem/angular/e2e/da-filesystem.spec.ts +++ b/cockpit/deep-agents/filesystem/angular/e2e/da-filesystem.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('da-filesystem: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/deep-agents/filesystem/angular/e2e/global-setup-impl.ts b/cockpit/deep-agents/filesystem/angular/e2e/global-setup-impl.ts index c951c32fe..6aed508b6 100644 --- a/cockpit/deep-agents/filesystem/angular/e2e/global-setup-impl.ts +++ b/cockpit/deep-agents/filesystem/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/deep-agents/filesystem/python', diff --git a/cockpit/deep-agents/filesystem/angular/e2e/tsconfig.json b/cockpit/deep-agents/filesystem/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/deep-agents/filesystem/angular/e2e/tsconfig.json +++ b/cockpit/deep-agents/filesystem/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/deep-agents/memory/angular/e2e/da-memory.spec.ts b/cockpit/deep-agents/memory/angular/e2e/da-memory.spec.ts index 0b281ceb1..bd74748c3 100644 --- a/cockpit/deep-agents/memory/angular/e2e/da-memory.spec.ts +++ b/cockpit/deep-agents/memory/angular/e2e/da-memory.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('da-memory: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/deep-agents/memory/angular/e2e/global-setup-impl.ts b/cockpit/deep-agents/memory/angular/e2e/global-setup-impl.ts index d39996c18..1f0072fc4 100644 --- a/cockpit/deep-agents/memory/angular/e2e/global-setup-impl.ts +++ b/cockpit/deep-agents/memory/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/deep-agents/memory/python', diff --git a/cockpit/deep-agents/memory/angular/e2e/tsconfig.json b/cockpit/deep-agents/memory/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/deep-agents/memory/angular/e2e/tsconfig.json +++ b/cockpit/deep-agents/memory/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/deep-agents/planning/angular/e2e/da-planning.spec.ts b/cockpit/deep-agents/planning/angular/e2e/da-planning.spec.ts index 8d34bea08..8d67731c8 100644 --- a/cockpit/deep-agents/planning/angular/e2e/da-planning.spec.ts +++ b/cockpit/deep-agents/planning/angular/e2e/da-planning.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('da-planning: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/deep-agents/planning/angular/e2e/global-setup-impl.ts b/cockpit/deep-agents/planning/angular/e2e/global-setup-impl.ts index 8eced5168..c77fb1cd3 100644 --- a/cockpit/deep-agents/planning/angular/e2e/global-setup-impl.ts +++ b/cockpit/deep-agents/planning/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/deep-agents/planning/python', diff --git a/cockpit/deep-agents/planning/angular/e2e/tsconfig.json b/cockpit/deep-agents/planning/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/deep-agents/planning/angular/e2e/tsconfig.json +++ b/cockpit/deep-agents/planning/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/deep-agents/sandboxes/angular/e2e/da-sandboxes.spec.ts b/cockpit/deep-agents/sandboxes/angular/e2e/da-sandboxes.spec.ts index f57a22168..da4bdeb0a 100644 --- a/cockpit/deep-agents/sandboxes/angular/e2e/da-sandboxes.spec.ts +++ b/cockpit/deep-agents/sandboxes/angular/e2e/da-sandboxes.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('da-sandboxes: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/deep-agents/sandboxes/angular/e2e/global-setup-impl.ts b/cockpit/deep-agents/sandboxes/angular/e2e/global-setup-impl.ts index 2c61115f3..8f2bb99b0 100644 --- a/cockpit/deep-agents/sandboxes/angular/e2e/global-setup-impl.ts +++ b/cockpit/deep-agents/sandboxes/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/deep-agents/sandboxes/python', diff --git a/cockpit/deep-agents/sandboxes/angular/e2e/tsconfig.json b/cockpit/deep-agents/sandboxes/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/deep-agents/sandboxes/angular/e2e/tsconfig.json +++ b/cockpit/deep-agents/sandboxes/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/deep-agents/skills/angular/e2e/da-skills.spec.ts b/cockpit/deep-agents/skills/angular/e2e/da-skills.spec.ts index 51f60c011..64ed4a3e3 100644 --- a/cockpit/deep-agents/skills/angular/e2e/da-skills.spec.ts +++ b/cockpit/deep-agents/skills/angular/e2e/da-skills.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('da-skills: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/deep-agents/skills/angular/e2e/global-setup-impl.ts b/cockpit/deep-agents/skills/angular/e2e/global-setup-impl.ts index bcf16b965..de98d541a 100644 --- a/cockpit/deep-agents/skills/angular/e2e/global-setup-impl.ts +++ b/cockpit/deep-agents/skills/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/deep-agents/skills/python', diff --git a/cockpit/deep-agents/skills/angular/e2e/tsconfig.json b/cockpit/deep-agents/skills/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/deep-agents/skills/angular/e2e/tsconfig.json +++ b/cockpit/deep-agents/skills/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/deep-agents/subagents/angular/e2e/da-subagents.spec.ts b/cockpit/deep-agents/subagents/angular/e2e/da-subagents.spec.ts index 3d223b387..b1e559339 100644 --- a/cockpit/deep-agents/subagents/angular/e2e/da-subagents.spec.ts +++ b/cockpit/deep-agents/subagents/angular/e2e/da-subagents.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('da-subagents: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/deep-agents/subagents/angular/e2e/global-setup-impl.ts b/cockpit/deep-agents/subagents/angular/e2e/global-setup-impl.ts index 708d88b88..2b89596e3 100644 --- a/cockpit/deep-agents/subagents/angular/e2e/global-setup-impl.ts +++ b/cockpit/deep-agents/subagents/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/deep-agents/subagents/python', diff --git a/cockpit/deep-agents/subagents/angular/e2e/tsconfig.json b/cockpit/deep-agents/subagents/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/deep-agents/subagents/angular/e2e/tsconfig.json +++ b/cockpit/deep-agents/subagents/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/deployment-runtime/angular/e2e/deployment-runtime.spec.ts b/cockpit/langgraph/deployment-runtime/angular/e2e/deployment-runtime.spec.ts index a879ce70a..2557f85af 100644 --- a/cockpit/langgraph/deployment-runtime/angular/e2e/deployment-runtime.spec.ts +++ b/cockpit/langgraph/deployment-runtime/angular/e2e/deployment-runtime.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('deployment-runtime: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/deployment-runtime/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/deployment-runtime/angular/e2e/global-setup-impl.ts index 930ed3851..012467849 100644 --- a/cockpit/langgraph/deployment-runtime/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/deployment-runtime/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/deployment-runtime/python', diff --git a/cockpit/langgraph/deployment-runtime/angular/e2e/tsconfig.json b/cockpit/langgraph/deployment-runtime/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/deployment-runtime/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/deployment-runtime/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/durable-execution/angular/e2e/durable-execution.spec.ts b/cockpit/langgraph/durable-execution/angular/e2e/durable-execution.spec.ts index 8e278948b..61a4059c3 100644 --- a/cockpit/langgraph/durable-execution/angular/e2e/durable-execution.spec.ts +++ b/cockpit/langgraph/durable-execution/angular/e2e/durable-execution.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('durable-execution: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/durable-execution/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/durable-execution/angular/e2e/global-setup-impl.ts index 6ada3416b..4076ef2a2 100644 --- a/cockpit/langgraph/durable-execution/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/durable-execution/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/durable-execution/python', diff --git a/cockpit/langgraph/durable-execution/angular/e2e/tsconfig.json b/cockpit/langgraph/durable-execution/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/durable-execution/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/durable-execution/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/interrupts/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/interrupts/angular/e2e/global-setup-impl.ts index 9623030e7..1a23a3ea5 100644 --- a/cockpit/langgraph/interrupts/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/interrupts/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/interrupts/python', diff --git a/cockpit/langgraph/interrupts/angular/e2e/interrupts.spec.ts b/cockpit/langgraph/interrupts/angular/e2e/interrupts.spec.ts index 1676090c7..46185f8fc 100644 --- a/cockpit/langgraph/interrupts/angular/e2e/interrupts.spec.ts +++ b/cockpit/langgraph/interrupts/angular/e2e/interrupts.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('interrupts: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/interrupts/angular/e2e/tsconfig.json b/cockpit/langgraph/interrupts/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/interrupts/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/interrupts/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/memory/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/memory/angular/e2e/global-setup-impl.ts index 175d62752..04abe2a42 100644 --- a/cockpit/langgraph/memory/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/memory/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/memory/python', diff --git a/cockpit/langgraph/memory/angular/e2e/memory.spec.ts b/cockpit/langgraph/memory/angular/e2e/memory.spec.ts index cbb237ef9..c548db750 100644 --- a/cockpit/langgraph/memory/angular/e2e/memory.spec.ts +++ b/cockpit/langgraph/memory/angular/e2e/memory.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('memory: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/memory/angular/e2e/tsconfig.json b/cockpit/langgraph/memory/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/memory/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/memory/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/persistence/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/persistence/angular/e2e/global-setup-impl.ts index bec933497..31419cc3e 100644 --- a/cockpit/langgraph/persistence/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/persistence/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/persistence/python', diff --git a/cockpit/langgraph/persistence/angular/e2e/persistence.spec.ts b/cockpit/langgraph/persistence/angular/e2e/persistence.spec.ts index 1c7c93427..a7b6912cd 100644 --- a/cockpit/langgraph/persistence/angular/e2e/persistence.spec.ts +++ b/cockpit/langgraph/persistence/angular/e2e/persistence.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('persistence: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/persistence/angular/e2e/tsconfig.json b/cockpit/langgraph/persistence/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/persistence/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/persistence/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/streaming/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/streaming/angular/e2e/global-setup-impl.ts index 66e5fcbe3..9830ce0bc 100644 --- a/cockpit/langgraph/streaming/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/streaming/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/streaming/python', diff --git a/cockpit/langgraph/streaming/angular/e2e/streaming.spec.ts b/cockpit/langgraph/streaming/angular/e2e/streaming.spec.ts index 907cc0c78..d3297a7ef 100644 --- a/cockpit/langgraph/streaming/angular/e2e/streaming.spec.ts +++ b/cockpit/langgraph/streaming/angular/e2e/streaming.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('streaming: assistant text from the mocked LLM renders in the cockpit chat composition', async ({ page }) => { const bubble = await submitAndWaitForResponse( diff --git a/cockpit/langgraph/streaming/angular/e2e/tsconfig.json b/cockpit/langgraph/streaming/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/streaming/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/streaming/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/subgraphs/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/subgraphs/angular/e2e/global-setup-impl.ts index 3a1a1558a..660797c1e 100644 --- a/cockpit/langgraph/subgraphs/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/subgraphs/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/subgraphs/python', diff --git a/cockpit/langgraph/subgraphs/angular/e2e/subgraphs.spec.ts b/cockpit/langgraph/subgraphs/angular/e2e/subgraphs.spec.ts index 7609f17dd..446a938ef 100644 --- a/cockpit/langgraph/subgraphs/angular/e2e/subgraphs.spec.ts +++ b/cockpit/langgraph/subgraphs/angular/e2e/subgraphs.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('subgraphs: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/subgraphs/angular/e2e/tsconfig.json b/cockpit/langgraph/subgraphs/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/subgraphs/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/subgraphs/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/cockpit/langgraph/time-travel/angular/e2e/global-setup-impl.ts b/cockpit/langgraph/time-travel/angular/e2e/global-setup-impl.ts index c4f988812..03c7524ac 100644 --- a/cockpit/langgraph/time-travel/angular/e2e/global-setup-impl.ts +++ b/cockpit/langgraph/time-travel/angular/e2e/global-setup-impl.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { resolve } from 'node:path'; -import { createGlobalSetup } from '../../../../../libs/e2e-harness/src'; +import { createGlobalSetup } from '@ngaf-internal/e2e-harness'; export default createGlobalSetup({ langgraphCwd: 'cockpit/langgraph/time-travel/python', diff --git a/cockpit/langgraph/time-travel/angular/e2e/time-travel.spec.ts b/cockpit/langgraph/time-travel/angular/e2e/time-travel.spec.ts index 2b6b579ea..baadaf41d 100644 --- a/cockpit/langgraph/time-travel/angular/e2e/time-travel.spec.ts +++ b/cockpit/langgraph/time-travel/angular/e2e/time-travel.spec.ts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT import { test, expect } from '@playwright/test'; -import { submitAndWaitForResponse } from '../../../../../libs/e2e-harness/src'; +import { submitAndWaitForResponse } from '@ngaf-internal/e2e-harness'; test('time-travel: hello prompt produces assistant turn', async ({ page }) => { const bubble = await submitAndWaitForResponse(page, 'Hello'); diff --git a/cockpit/langgraph/time-travel/angular/e2e/tsconfig.json b/cockpit/langgraph/time-travel/angular/e2e/tsconfig.json index 0b5aeecbf..6b25f50cd 100644 --- a/cockpit/langgraph/time-travel/angular/e2e/tsconfig.json +++ b/cockpit/langgraph/time-travel/angular/e2e/tsconfig.json @@ -7,8 +7,25 @@ "strict": true, "skipLibCheck": true, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] } diff --git a/examples/chat/angular/e2e/tsconfig.json b/examples/chat/angular/e2e/tsconfig.json index 234dd6a8b..5870aed85 100644 --- a/examples/chat/angular/e2e/tsconfig.json +++ b/examples/chat/angular/e2e/tsconfig.json @@ -8,8 +8,25 @@ "skipLibCheck": true, "allowImportingTsExtensions": false, "noEmit": true, - "types": ["node"] + "types": [ + "node" + ], + "baseUrl": "../../../../..", + "paths": { + "@ngaf-internal/e2e-harness": [ + "libs/e2e-harness/src/index.ts" + ], + "@ngaf-internal/e2e-harness/global-teardown": [ + "libs/e2e-harness/src/global-teardown.ts" + ] + } }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "test-results", "playwright-report"] + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "test-results", + "playwright-report" + ] }