Spaces:
Running
Running
Skip XLSX test. Lines may be zero-height/width, so try toBeAttached.
Browse files
lynxkite-app/web/tests/import.spec.ts
CHANGED
@@ -63,6 +63,7 @@ test("Can import a JSON file", async () => {
|
|
63 |
await validateImport(workspace, "import_test.json", "json");
|
64 |
});
|
65 |
|
66 |
-
|
|
|
67 |
await validateImport(workspace, "import_test.xlsx", "excel");
|
68 |
});
|
|
|
63 |
await validateImport(workspace, "import_test.json", "json");
|
64 |
});
|
65 |
|
66 |
+
// Needs openpyxl. It's the same code as the other formats, so not worth installing it in CI.
|
67 |
+
test.skip("Can import an Excel file", async () => {
|
68 |
await validateImport(workspace, "import_test.xlsx", "excel");
|
69 |
});
|
lynxkite-app/web/tests/lynxkite.ts
CHANGED
@@ -133,12 +133,12 @@ export class Workspace {
|
|
133 |
await expect(targetHandle).toBeVisible();
|
134 |
await sourceHandle.hover();
|
135 |
await this.page.mouse.down();
|
136 |
-
await expect(this.page.locator(".react-flow__connectionline")).
|
137 |
await targetHandle.hover();
|
138 |
await this.page.mouse.up();
|
139 |
await expect(
|
140 |
this.page.locator(`.react-flow__edge[aria-label="Edge from ${sourceId} to ${targetId}"]`),
|
141 |
-
).
|
142 |
}
|
143 |
|
144 |
async execute() {
|
|
|
133 |
await expect(targetHandle).toBeVisible();
|
134 |
await sourceHandle.hover();
|
135 |
await this.page.mouse.down();
|
136 |
+
await expect(this.page.locator(".react-flow__connectionline")).toBeAttached();
|
137 |
await targetHandle.hover();
|
138 |
await this.page.mouse.up();
|
139 |
await expect(
|
140 |
this.page.locator(`.react-flow__edge[aria-label="Edge from ${sourceId} to ${targetId}"]`),
|
141 |
+
).toBeAttached();
|
142 |
}
|
143 |
|
144 |
async execute() {
|