File size: 495 Bytes
1cbdba3
8fe4e41
 
1cbdba3
ec4235e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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();
  });
}