Improve auto-loop event emission and add ntfy notifications (#821)

This commit is contained in:
gsxdsm
2026-03-01 00:12:22 -08:00
committed by GitHub
parent 63b0a4fb38
commit 57bcb2802d
53 changed files with 4620 additions and 255 deletions

View File

@@ -85,15 +85,8 @@ test.describe('Agent Chat Session', () => {
const sessionCount = await countSessionItems(page);
expect(sessionCount).toBeGreaterThanOrEqual(1);
// Ensure the new session is selected (click first session item if message list not yet visible)
// Handles race where list updates before selection is applied in CI
// Verify the message list is visible (indicates the newly created session was selected)
const messageList = page.locator('[data-testid="message-list"]');
const sessionItem = page.locator('[data-testid^="session-item-"]').first();
if (!(await messageList.isVisible())) {
await sessionItem.click();
}
// Verify the message list is visible (indicates a session is selected)
await expect(messageList).toBeVisible({ timeout: 10000 });
// Verify the agent input is visible