Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cockpit/chat/a2ui/angular/e2e/c-a2ui.spec.ts
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/a2ui/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/a2ui/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
Original file line number Diff line number Diff line change
@@ -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.');
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/generative-ui/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/input/angular/e2e/c-input.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/input/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/input/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/interrupts/angular/e2e/c-interrupts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/interrupts/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/interrupts/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/messages/angular/e2e/c-messages.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/messages/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/messages/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/subagents/angular/e2e/c-subagents.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/subagents/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/subagents/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/theming/angular/e2e/c-theming.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/theming/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/theming/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/threads/angular/e2e/c-threads.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/threads/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
23 changes: 20 additions & 3 deletions cockpit/chat/threads/angular/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion cockpit/chat/timeline/angular/e2e/c-timeline.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion cockpit/chat/timeline/angular/e2e/global-setup-impl.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Loading