File size: 440 Bytes
aa9111f
7ed5764
 
aa9111f
0fcd182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Test the execution of the example workspaces
import { expect, test } from "@playwright/test";
import { Workspace } from "./lynxkite";

const WORKSPACES = [
  "Airlines demo",
  "Bio Cypher demo",
  "Image processing",
  "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();
  });
}