The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(chat-thread-list): log rename input focus and menu state before escape
Steven Enamakel278184be4c70
diff --git a/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts b/app/test/playwright/specs/chat-thread-list-lifecycle.spec.tsindex 4a6528af03..b6aa61100c 100644--- a/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts+++ b/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts@@ -182,6 +182,14 @@ test.describe('Chat thread list — create, deep link, rename, delete', () => {await expect(input).toBeVisible();await input.fill('this-must-not-stick-5t8y1u');+ console.log('rename-focus-before-Escape', await input.evaluate(element => ({+ focused: document.activeElement === element,+ menus: [...document.querySelectorAll('[role="menu"]')].map(menu => ({+ state: menu.getAttribute('data-state'),+ slot: menu.getAttribute('data-slot'),+ })),+ })));+// Escape is an explicit cancel and must suppress the commit the ensuing// blur would otherwise fire (`ThreadList.tsx:183-187`).await input.press('Escape');