Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(tests): r1-m7 release checking targets in the native drag journey

M4b03b62c5e3e
diff --git a/desktop-app/test/e2e-playwright/gfs-drag-and-drop-desktop.test.ts b/desktop-app/test/e2e-playwright/gfs-drag-and-drop-desktop.test.ts
index 5c9a13ebb..b62128ff1 100644
--- a/desktop-app/test/e2e-playwright/gfs-drag-and-drop-desktop.test.ts
+++ b/desktop-app/test/e2e-playwright/gfs-drag-and-drop-desktop.test.ts
@@ -61,7 +61,11 @@ async function dragRowOntoRow(page: Page, sourceRow: Locator, targetRow: Locator
await page.mouse.down()
await page.mouse.move((start.x + end.x) / 2, (start.y + end.y) / 2, { steps: 6 })
await page.mouse.move(end.x, end.y, { steps: 6 })
- await expect(targetRow).toHaveAttribute('data-drop-state', 'allowed', { timeout: 15_000 })
+ // Folder ancestry can remain unknown during hover even with warm permissions.
+ // Release a checking target so drop-time priority adjudication can run.
+ await expect(targetRow).toHaveAttribute('data-drop-state', /^(allowed|checking)$/, {
+ timeout: 15_000,
+ })
await page.mouse.up()
}