Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(e2e): wait for the greeting the Desktop actually renders
Alfredo Lopez890f807e49da
diff --git a/tests/e2e/playwright/desktop/codex-subscription-approved-tools.spec.ts b/tests/e2e/playwright/desktop/codex-subscription-approved-tools.spec.tsindex a33440af8..de3ecb0a2 100644--- a/tests/e2e/playwright/desktop/codex-subscription-approved-tools.spec.ts+++ b/tests/e2e/playwright/desktop/codex-subscription-approved-tools.spec.ts@@ -112,7 +112,9 @@ async function openAgentChat(desktop: Page, scenario: Scenario) {await expect(desktop.getByTestId('nav-chat')).toBeVisible()await desktop.getByTestId('nav-chat').click()await desktop.getByTestId('nav-new-chat').click()- await expect(desktop.getByRole('heading', { name: 'New chat with', exact: true })).toBeVisible()+ await expect(+ desktop.getByRole('heading', { name: 'Start a new conversation with:', exact: true })+ ).toBeVisible()await desktop.getByRole('button', { name: 'Switch chat agent', exact: true }).click()await desktop.getByRole('menuitem', { name: scenario.agentDisplayName, exact: true }).click()await expect(diff --git a/tests/e2e/playwright/helpers/approved-tools-workflow.ts b/tests/e2e/playwright/helpers/approved-tools-workflow.tsindex 62ac0a01b..c84781de1 100644--- a/tests/e2e/playwright/helpers/approved-tools-workflow.ts+++ b/tests/e2e/playwright/helpers/approved-tools-workflow.ts@@ -131,7 +131,7 @@ export async function workflowJourney(page: Page, testInfo: TestInfo) {await desktop.getByTestId('nav-chat').click()await desktop.getByTestId('nav-new-chat').click()await expect(- desktop.getByRole('heading', { name: 'New chat with', exact: true })+ desktop.getByRole('heading', { name: 'Start a new conversation with:', exact: true })).toBeVisible()await desktop.getByRole('button', { name: 'Switch chat agent', exact: true }).click()await desktop.getByRole('menuitem', { name: scenario.agentDisplayName, exact: true }).click()diff --git a/tests/e2e/playwright/package-lock.json b/tests/e2e/playwright/package-lock.jsonindex 66506b733..a6a185489 100644--- a/tests/e2e/playwright/package-lock.json+++ b/tests/e2e/playwright/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-playwright-tests",- "version": "0.1.55",+ "version": "0.1.56","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-playwright-tests",- "version": "0.1.55",+ "version": "0.1.56","devDependencies": {"@playwright/test": "^1.50.0","@types/node": "^22.0.0",diff --git a/tests/e2e/playwright/package.json b/tests/e2e/playwright/package.jsonindex cc0f1f065..849d186e8 100644--- a/tests/e2e/playwright/package.json+++ b/tests/e2e/playwright/package.json@@ -1,6 +1,6 @@{"name": "clerum-playwright-tests",- "version": "0.1.55",+ "version": "0.1.56","private": true,"description": "Playwright E2E tests for Control UI and Desktop App","scripts": {