Skip to content

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

TypeScript

test(e2e): close GFS subject picker after selection

Alfredo Lopez634a9a2e06e8
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 fbf29321c..0032b76ce 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,6 +81,8 @@ 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 expect(listbox).toBeHidden()
}
function lifecycleDetailFields(detailRef: string | null): Record<string, string> {