Spaces:
Running
Running
File size: 1,410 Bytes
18d76df d460634 18d76df d460634 c83f1c9 18d76df cf99292 5eaf552 cf99292 d460634 c83f1c9 18d76df c82d8dc d460634 c83f1c9 18d76df 8c735a6 d460634 c83f1c9 18d76df 8c735a6 d460634 c83f1c9 18d76df 5e29feb c83f1c9 dc0212e d460634 c83f1c9 18d76df |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
// Test the execution of the example workspaces
import { expect, test } from "@playwright/test";
import { Workspace } from "./lynxkite";
test("LynxKite Graph Analytics example", async ({ page }) => {
const ws = await Workspace.open(page, "NetworkX demo");
await ws.expectErrorFree(process.env.CI ? 2000 : 1000);
});
test("Bio example", async ({ page }) => {
const ws = await Workspace.open(page, "Bio demo");
await ws.expectErrorFree();
});
test("Pytorch example", async ({ page }) => {
const ws = await Workspace.open(page, "PyTorch demo");
await ws.expectErrorFree();
});
test("AIMO example", async ({ page }) => {
const ws = await Workspace.open(page, "AIMO");
await ws.expectErrorFree();
});
test("LynxScribe example", async ({ page }) => {
// Fails because of missing OPENAI_API_KEY
const ws = await Workspace.open(page, "LynxScribe demo");
await ws.expectErrorFree();
});
test("Graph RAG", async ({ page }) => {
// Fails due to some issue with ChromaDB
const ws = await Workspace.open(page, "Graph RAG");
await ws.expectErrorFree(process.env.CI ? 2000 : 500);
});
test("Airlines demo", async ({ page }) => {
const ws = await Workspace.open(page, "Airlines demo");
await ws.expectErrorFree(process.env.CI ? 10000 : 500);
});
test("Pillow example", async ({ page }) => {
const ws = await Workspace.open(page, "Image processing");
await ws.expectErrorFree();
});
|