fix: type the health test mode, pace cards with the stream, and size the results panel
Some checks are pending
ci / backend (push) Waiting to run
ci / frontend (push) Waiting to run

This commit is contained in:
Justin Visser 2026-08-11 10:15:20 +02:00
parent fa356ba5c5
commit cdace7d170
7 changed files with 41 additions and 15 deletions

View file

@ -104,12 +104,13 @@ describe('result presentation', () => {
expect(region?.contains(action ?? null)).toBe(false)
})
it('assigns a deliberate stagger order to arriving cards', () => {
it('renders arriving cards without an artificial entrance delay', () => {
const root = mountComponent(AssistantMessage, { turn: doneTurn(), canSave: true })
const cards = root.querySelectorAll<HTMLElement>('article')
expect(cards[0]?.style.getPropertyValue('--card-order')).toBe('0')
expect(cards[1]?.style.getPropertyValue('--card-order')).toBe('1')
expect(cards.length).toBeGreaterThan(1)
expect(cards[0]?.style.getPropertyValue('--card-order')).toBe('')
expect(cards[1]?.style.getPropertyValue('--card-order')).toBe('')
})
it('anchors a completed response at the top of the conversation viewport', async () => {