Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(e2e): match visible GFS toast text
Alfredo Lopezd4df4a4e840b
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.tsindex 9d23a560d..a1a54aced 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@@ -9,7 +9,11 @@ import {} from './helpers/gfsDesktopOperatorParityFixtures'async function expectToast(page: Page, message: string): Promise<void> {- await expect(page.getByRole('status', { name: message, exact: true })).toBeVisible({+ // ToastStack exposes the status role on the container, while its decorative+ // icon is intentionally aria-hidden. Match the user-visible message inside+ // that container instead of requiring an exact accessible-name calculation+ // that differs between Chromium and Electron.+ await expect(page.getByRole('status').filter({ hasText: message })).toBeVisible({timeout: 30_000,})}