mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
dd06dd89d1
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.
17 lines
479 B
TypeScript
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([]);
|
|
});
|