Files
copilotkit__copilotkit/showcase/integrations/strands/tests/e2e/byoc-hashbrown.spec.ts
Jordan Ritter dd06dd89d1 refactor(showcase): rename packages/ to integrations/
The showcase framework directories better reflect their role as
integration examples rather than distributable packages.
Renames showcase/packages/ -> showcase/integrations/ and updates
the test docker-compose file reference accordingly.
2026-04-28 07:47:35 -07:00

17 lines
479 B
TypeScript

import { test, expect } from "@playwright/test";
test("byoc-hashbrown loads without errors", async ({ page }) => {
const errors: string[] = [];
page.on("pageerror", (err) => errors.push(err.message));
await page.goto("/demos/byoc-hashbrown");
await page.waitForLoadState("domcontentloaded");
await expect(page.getByText("BYOC: Hashbrown")).toBeVisible();
expect(
errors,
`page errors on /demos/byoc-hashbrown: ${errors.join(" | ")}`,
).toEqual([]);
});