mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
8efd6ecb33
Adds a CI-safe Playwright smoke test that verifies the banking showcase
boots and the CopilotKit v2 popup opens with its configured suggestion
pills, without invoking the agent (so it runs in CI without secrets).
Covers:
- Document title shows the Northwind Finance brand
- Credit-cards dashboard renders ("Credit Cards" heading)
- CopilotPopup launcher opens the dialog (Northwind Copilot)
- Three suggestion pills render: View transactions, Add a card,
Assign a policy
The dev server gets a dummy OPENAI_API_KEY so the runtime route boots,
but the test never sends a chat message or clicks a suggestion.
.gitignore: ignore test-results/, playwright-report/, and
tsconfig.tsbuildinfo so they don't become clutter.
16 lines
177 B
Plaintext
16 lines
177 B
Plaintext
node_modules/
|
|
.vscode/
|
|
.idea/
|
|
.env
|
|
.DS_Store
|
|
|
|
.next
|
|
|
|
# TypeScript incremental build cache
|
|
tsconfig.tsbuildinfo
|
|
|
|
# Playwright
|
|
test-results/
|
|
playwright-report/
|
|
playwright/.cache/
|