  ✓ history bar section present
  ✓ active badge = factai-main
  ✓ lists factai-main
  ✓ lists stl2cad
  ✓ Use button for stl2cad (data-history-action=use)
  ✓ factai-main marked CURRENT
  ✓ New history input present
  ✓ New history button present (data-history-action=create)
  ✓ no-active badge shown
  ✓ empty histories renders nothing
  ✓ temp WS has 2 histories
  ✓ after create, extension_last_used = marketing
  ✓ after create, 3 histories
  ✓ after use, extension_last_used = factai-main
  ✓ after switch, active badge = factai-main
  ✓ after switch, marketing has Use button
  ✓ duplicate create throws
  ✓ use unknown throws

18 passed, 0 failed
