Commit Graph

11 Commits

Author SHA1 Message Date
Jordan Ritter 50439f5e12 fix: remove unused variables and prevent silent test pass in dark mode tests
Remove captured-but-never-asserted colorBefore and markerColorLight
variables. Replace silent if-guard in poweredBy test with explicit
test.skip so missing elements surface in test reports instead of
silently passing.
2026-04-13 14:33:20 -07:00
Jordan Ritter f30f001f83 test: add Playwright regression test for dark mode CSS scoping (#2920)
Verifies that .dark CSS selectors in console.css and input.css are
properly scoped to CopilotKit elements and do not leak into the host
application. Tests detect the specific rgb(69, 69, 69) color leak that
occurred when .dark was used as a standalone selector.
2026-04-13 09:17:41 -07:00
Martha Schumann c2b17a9ad8 test(e2e): simplify to form-filling only, fix windowBox ref in drag test 2026-04-10 16:14:26 -07:00
Martha Schumann c5b3951f38 test(e2e): guard isVisible against race on window open check 2026-04-10 16:07:24 -07:00
Martha Schumann bd19406f43 test(e2e): fix beforeEach to handle defaultOpen variants 2026-04-10 16:06:24 -07:00
Martha Schumann a8db5310f2 test(e2e): tighten chat layout assertions 2026-04-10 15:55:20 -07:00
Martha Schumann 271602e0d3 test(e2e): add chat window layout regression tests 2026-04-10 15:53:12 -07:00
Tyler Slaton 96885b5959 refactor: consolidate V1/V2 packages into flat @copilotkit/* structure
Flatten all packages from packages/v1/* and packages/v2/* into packages/* —
every package now lives directly under the @copilotkit/ scope with no v1/v2
subdirectories.

- Move all v1 packages (react-core, react-ui, runtime, shared, etc.) from
  packages/v1/* to packages/*
- Absorb v2 react code into packages/react-core/src/v2/ (exported via /v2 subpath)
- Absorb v2 agent code into packages/runtime/src/agent/ (exported via /v2 subpath)
- Move v2 packages (core, angular, demo-agents, etc.) to packages/*
- Replace all @copilotkitnext/* imports with @copilotkit/* equivalents
- Keep @copilotkitnext/angular as the sole exception (angular remains on next)
- Update CI workflows, renovate config, release scripts for flat structure
- No public API surface changes — all exports fields are preserved

Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-28 16:45:10 -07:00
Claude 3514b7fb8a fix: resolve flaky travel e2e test caused by external CDN blocking page load
The travel layout loads leaflet CSS/JS from unpkg.com in the <head>, which
are render-blocking resources. Playwright's default page.goto() waits for the
"load" event (all resources finished), so when unpkg is slow in CI the test
times out intermittently. Switch to "domcontentloaded" since the title assertion
only needs server-rendered HTML.

https://claude.ai/code/session_01UG2GvyhbtPqUGpwo5xxra1
2026-03-28 11:59:39 -07:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00
Tyler Slaton 2952bceeec refactor: overhaul examples structure, remove old ones and simplify testing (#2975)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-01-08 14:18:35 -05:00