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: 0 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ docs/sdk/dart @mattsp1290

integrations/agent-spec @sonleoracle

integrations/cli-agent-orchestrator @ag-ui-protocol/copilotkit @plauzy @haofeif

.github/config-allowlist.txt @AlemTuzlak @atai
4 changes: 0 additions & 4 deletions .github/workflows/dojo-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@ jobs:
test_path: tests/awsStrandsTypescriptTests
services: ["dojo", "aws-strands-typescript"]
wait_on: http://localhost:9999,tcp:localhost:8022
- suite: cli-agent-orchestrator
test_path: tests/caoTests
services: ["dojo", "cli-agent-orchestrator"]
wait_on: http://localhost:9999,tcp:localhost:8031
- suite: claude-agent-sdk-python
test_path: tests/claudeAgentSdkPythonTests
services: ["dojo", "claude-agent-sdk-python"]
Expand Down
24 changes: 12 additions & 12 deletions apps/dojo/e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions apps/dojo/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"description": "Scheduled Playwright smoke tests for CopilotKit demo apps",
"scripts": {
"postinstall": "playwright install chromium",
"pretest": "node -e \"process.exit(process.env.CI === 'true' || process.env.CI === '1' ? 0 : 1)\" || playwright install chromium chromium-headless-shell",
"test": "playwright test",
"check:event-trace-types": "tsc -p tsconfig.event-trace.json",
"check:adk-js-e2e-types": "tsc -p tsconfig.adk-js-e2e.json",
Expand All @@ -16,7 +15,7 @@
"report": "playwright show-report"
},
"devDependencies": {
"@playwright/test": "1.52.0",
"@playwright/test": "^1.43.1",
"@slack/types": "^2.14.0",
"@types/node": "^22.15.28",
"playwright-slack-report": "^1.1.93",
Expand Down
21 changes: 2 additions & 19 deletions apps/dojo/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,11 @@ export default defineConfig({
use: {
headless: true,
viewport: { width: 1280, height: 720 },
// Video recording. The cli-agent-orchestrator suite records on SUCCESS too,
// so the passing in-Dojo run is captured as shareable demo evidence (the
// dogfood: CAO rendering live in this Dojo, produced by our own CI — not a
// GIF pasted from another repo). All other suites keep videos only on
// failure.
// Video recording for failed tests
video: {
mode:
process.env.PLAYWRIGHT_SUITE === "cli-agent-orchestrator"
? "on"
: "retain-on-failure",
mode: "retain-on-failure", // Only keep videos for failed tests
size: { width: 1280, height: 720 },
},
// Full Playwright trace (DOM + network + screenshots) for the CAO suite so
// the uploaded HTML report is a self-contained, replayable demo.
trace:
process.env.PLAYWRIGHT_SUITE === "cli-agent-orchestrator"
? "on"
: "retain-on-failure",
screenshot:
process.env.PLAYWRIGHT_SUITE === "cli-agent-orchestrator"
? "on"
: "only-on-failure",
navigationTimeout: 30_000,
actionTimeout: 10_000,
// Test isolation - ensure clean state between tests
Expand Down
2 changes: 1 addition & 1 deletion apps/dojo/e2e/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 2 additions & 21 deletions apps/dojo/e2e/test-isolation-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,8 @@ async function globalSetup(config: FullConfig) {

console.log("🧹 Setting up test isolation...");

// Launch browser to clear any persistent state.
// Playwright pins an exact browser build per release, so a cache populated by a
// different Playwright version resolves to a missing executable here. Bare, that
// surfaces as an opaque globalSetup stall rather than a failure, so translate it
// into the command that actually fixes it.
let browser: Awaited<ReturnType<typeof chromium.launch>>;
try {
browser = await chromium.launch();
} catch (error) {
const message = error instanceof Error ? error.message : String(error);
if (message.includes("Executable doesn't exist")) {
throw new Error(
`Playwright browsers are not installed for this @playwright/test version.\n` +
`Run this from apps/dojo/e2e, then re-run the suite:\n\n` +
` pnpm exec playwright install chromium chromium-headless-shell\n\n` +
`Original error: ${message}`,
);
}
throw error;
}

// Launch browser to clear any persistent state
const browser = await chromium.launch();
const context = await browser.newContext();

// Clear all storage
Expand Down
17 changes: 0 additions & 17 deletions apps/dojo/e2e/tests/caoTests/agenticChatPage.spec.ts

This file was deleted.

56 changes: 0 additions & 56 deletions apps/dojo/e2e/tests/caoTests/agenticGenerativeUiPage.spec.ts

This file was deleted.

35 changes: 0 additions & 35 deletions apps/dojo/e2e/tests/caoTests/humanInTheLoopPage.spec.ts

This file was deleted.

63 changes: 0 additions & 63 deletions apps/dojo/e2e/tests/caoTests/interruptPage.spec.ts

This file was deleted.

49 changes: 0 additions & 49 deletions apps/dojo/e2e/tests/caoTests/sharedStatePage.spec.ts

This file was deleted.

Loading
Loading