mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
2fe80ebc2d
Shell (Next.js): landing page, integrations explorer, docs viewer, AG-UI docs, feature matrix, search, demo drawer with Frontend/Backend tabs, profile pages with Live Demo / Code / Docs starter tabs. 17 integration packages with Dockerfiles, QA, tests, manifests. Build scripts for registry, demo content, starter content, search index. E2E smoke test suite (52 tests across 4 levels). Purple color scheme, independent sidebar scrolling, integration ordering by importance, category grouping, placeholder logos. Docs: 500+ MDX pages with snippet inlining, remark-gfm, rehype-highlight, AG-UI sidebar navigation, LFS images.
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
/**
|
|
* E2E smoke test config for showcase integrations.
|
|
*
|
|
* By default runs a single "chromium" project with all tests.
|
|
* Use --grep to filter by level: --grep @health, --grep @agent, etc.
|
|
*
|
|
* Usage:
|
|
* npx playwright test # all levels
|
|
* npx playwright test --grep @health # health checks only
|
|
* npx playwright test --grep @agent # agent endpoint only
|
|
* npx playwright test --grep @chat # round-trip chat only
|
|
* npx playwright test --grep @tools # tool rendering only
|
|
* npx playwright test -g "langgraph-python" # single integration
|
|
*/
|
|
export default defineConfig({
|
|
testDir: "./e2e",
|
|
timeout: 120_000,
|
|
expect: {
|
|
timeout: 30_000,
|
|
},
|
|
fullyParallel: true,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: 1,
|
|
workers: process.env.CI ? 2 : 4,
|
|
reporter: process.env.CI ? "github" : "list",
|
|
outputDir: "test-results",
|
|
use: {
|
|
...devices["Desktop Chrome"],
|
|
trace: "retain-on-failure",
|
|
screenshot: "only-on-failure",
|
|
},
|
|
});
|