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(e2e): update voice mode and channel smoke assertions
Steven Enamakel77616d2ffe48
diff --git a/app/test/e2e/specs/channels-smoke.spec.ts b/app/test/e2e/specs/channels-smoke.spec.tsindex 940c84ad54..e4839b1c59 100644--- a/app/test/e2e/specs/channels-smoke.spec.ts+++ b/app/test/e2e/specs/channels-smoke.spec.ts@@ -71,7 +71,9 @@ describe('Channels page smoke (Telegram + Discord)', () => {await disconnectTelegramBot();const baseline = await getTelegramChannelStatus();if (!baseline || baseline.connected) {- throw new Error(`precondition: Telegram RPC status should be disconnected: ${JSON.stringify(baseline)}`);+ throw new Error(+ `precondition: Telegram RPC status should be disconnected: ${JSON.stringify(baseline)}`+ );}await navigateViaHash('/channels');await waitForText('Telegram', 15_000);@@ -79,7 +81,7 @@ describe('Channels page smoke (Telegram + Discord)', () => {timeout: 15_000,timeoutMsg: `Telegram row did not show its disconnected status; saw ${await telegramRowStatus()}`,});- if (await telegramRowStatus() === 'Connected') {+ if ((await telegramRowStatus()) === 'Connected') {throw new Error('precondition: Telegram row should not already read Connected');}diff --git a/app/test/e2e/specs/settings-account-preferences.spec.ts b/app/test/e2e/specs/settings-account-preferences.spec.tsindex 8baf0255c1..0d681fb034 100644--- a/app/test/e2e/specs/settings-account-preferences.spec.ts+++ b/app/test/e2e/specs/settings-account-preferences.spec.ts@@ -59,7 +59,11 @@ describe('Settings - Account Preferences', function () {const checkbox = document.querySelector<HTMLInputElement>('#mnemonic-confirm-checkbox');return checkbox !== null && !checkbox.disabled;}),- { timeout: 5_000, interval: 100, timeoutMsg: 'recovery phrase consent stayed disabled after reveal' }+ {+ timeout: 5_000,+ interval: 100,+ timeoutMsg: 'recovery phrase consent stayed disabled after reveal',+ });await clickSelector('input[type="checkbox"]');expect(diff --git a/app/test/e2e/specs/voice-mode.spec.ts b/app/test/e2e/specs/voice-mode.spec.tsindex a7fdf0abaf..b97149607a 100644--- a/app/test/e2e/specs/voice-mode.spec.ts+++ b/app/test/e2e/specs/voice-mode.spec.ts@@ -227,8 +227,12 @@ describe('Voice mode — Human tab capture & error mapping', () => {// the controls users can invoke there rather than the removed setup label.expect(await textExists('Voice mode')).toBe(true);await clickButton('Voice mode');- expect(await textExists('Switch to text')).toBe(true);- expect(await waitForAnyText(['Tap and speak', 'Waiting for agent'], 10_000)).not.toBeNull();+ expect(await textExists('Tap and speak')).toBe(true);+ // The switch is icon-only: "Switch to text" is its accessible name, not+ // visible text. Exercise it through the accessibility helper and verify+ // that the text composer returns.+ await clickButton('Switch to text', 10_000);+ expect(await waitForAnyText(['How can I help', 'Threads', 'New'], 10_000)).not.toBeNull();});// 6.2 was an RPC-only call with a synthetic payload. The owner-layer JSON-RPC