lynxkite / lynxkite-app /web /tests /examples.spec.ts
darabos's picture
Actually execute examples in tests.
ec4235e
raw
history blame contribute delete
495 Bytes
// Test the execution of the example workspaces
import { expect, test } from "@playwright/test";
import { Workspace } from "./lynxkite";
const WORKSPACES = [
// "AIMO",
"Airlines demo",
"Bio Cypher demo",
// "Graph RAG",
"Image processing",
// "LynxScribe demo",
"NetworkX demo",
"Model use",
];
for (const name of WORKSPACES) {
test(name, async ({ page }) => {
const ws = await Workspace.open(page, name);
await ws.execute();
await ws.expectErrorFree();
});
}