diff --git a/client/e2e/live.spec.ts b/client/e2e/live.spec.ts index c9ad3113..6d0ee3f3 100644 --- a/client/e2e/live.spec.ts +++ b/client/e2e/live.spec.ts @@ -289,7 +289,7 @@ test('a used link says session_full, an expired one invite_expired, a junk one i await pickLanguage(second.page, 'lg', 'French'); await second.page.locator('#lg-consent').check(); await second.page.locator('#lg-join-btn').click(); - await expect(second.page.locator('#lg-status')).toHaveText(en.liveErrSessionFull); + await expect(second.page.locator('#lg-status')).toHaveText(en.liveErrConversationFull); await expect(second.page.locator('#lg-session')).toBeHidden(); // An invitation nobody used before it ran out. diff --git a/client/e2e/support/live-server.mjs b/client/e2e/support/live-server.mjs index 23efd19e..e7dbe2af 100644 --- a/client/e2e/support/live-server.mjs +++ b/client/e2e/support/live-server.mjs @@ -99,6 +99,10 @@ export async function startLiveStack(opts = {}) { // Live Connect on, with the shortest billing interval so a few seconds of speech charge. LIVE_CONNECT_ENABLED: '1', LIVE_TOKEN_KEY, + // The mock upstream answers BOTH phones with the same sentence, which is exactly what the + // server's echo filter exists to drop; these journeys test the screens, not the filter + // (covered by tests/live_echo.rs and live_ws.rs), so it is off here. + LIVE_ECHO_FILTER: '0', USAGE_UPDATE_INTERVAL: '2', // The real rate is a fraction of a cent per tick, which an organisation (whole credits, one // credit = one cent) would only be charged after about a minute. A deliberately high rate makes a diff --git a/client/src/pages/live.astro b/client/src/pages/live.astro index 9658eb45..0458c47e 100644 --- a/client/src/pages/live.astro +++ b/client/src/pages/live.astro @@ -41,7 +41,7 @@ const T = (k: string): string => (en as Record)[k] ?? ''; {T('signIn')} - +