Sfoglia il codice sorgente

test(web): explain steering replay pace

imccyu 1 mese fa
parent
commit
cf918fa05d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      apps/web/tests/steering.e2e.ts

+ 2 - 1
apps/web/tests/steering.e2e.ts

@@ -48,7 +48,8 @@ describe('web e2e: mid-turn steering lands durably and visibly', () => {
   const sessionEvents: SessionEvent[] = []
 
   beforeAll(async () => {
-    // The slower replay keeps the Queue action available until the recorded question barrier arrives.
+    // The 100 ms replay pace is test-only headroom that keeps the Queue action
+    // available until the recorded question barrier arrives, not a product timing contract.
     scaffold = await launchWebScaffold(MODE === 'record' ? {} : { replayFixture: FIXTURE, paceMs: 100 })
     scaffold.ctx.on('session/event', (_session, event) => { sessionEvents.push(event) })
     browser = await chromium.launch()