Skip to content

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

TypeScript

test(e2e): dismiss GFS picker without closing dialog

Alfredo Lopeze2434cc66947
diff --git a/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts b/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts
index 0032b76ce..d78fa2375 100644
--- a/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts
+++ b/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts
@@ -81,7 +81,7 @@ async function selectOrdinarySubject(page: Page, ordinaryEmail: string): Promise
const listbox = page.getByRole('listbox', { name: 'Available people, teams, and agents' })
await expect(listbox).toBeVisible()
await listbox.getByRole('option').filter({ hasText: ordinaryEmail }).click()
- await picker.press('Escape')
+ await page.getByRole('heading', { name: 'Access', exact: true }).click()
await expect(listbox).toBeHidden()
}