diff --git a/examples/chat/smoke/runtime-smoke.mjs b/examples/chat/smoke/runtime-smoke.mjs index 2cf9476d4..faf6f9278 100644 --- a/examples/chat/smoke/runtime-smoke.mjs +++ b/examples/chat/smoke/runtime-smoke.mjs @@ -359,7 +359,9 @@ async function assertCompatibilityMarkers( ); await marker.waitFor(); const markerText = await marker.innerText(); - if (markerText !== `${packageName} ready`) { + const expectedText = + packageName === 'ag-ui' ? 'AG-UI ready' : `${packageName} ready`; + if (markerText !== expectedText) { throw new Error( `${packageName} compatibility probe reported "${markerText}"` ); diff --git a/examples/chat/smoke/runtime-smoke.spec.mjs b/examples/chat/smoke/runtime-smoke.spec.mjs index 87d428144..392872c9f 100644 --- a/examples/chat/smoke/runtime-smoke.spec.mjs +++ b/examples/chat/smoke/runtime-smoke.spec.mjs @@ -393,7 +393,7 @@ test('requires every visible compatibility marker to report exact readiness', as const markerText = new Map( COMPATIBILITY_PACKAGES.map((packageName) => [ packageName, - `${packageName} ready`, + packageName === 'ag-ui' ? 'AG-UI ready' : `${packageName} ready`, ]) ); markerText.set('telemetry', 'telemetry unavailable');