Files
copilotkit__copilotkit/showcase/integrations/spring-ai/qa/a2ui-fixed-schema.md
Jordan Ritter dd06dd89d1 refactor(showcase): rename packages/ to integrations/
The showcase framework directories better reflect their role as
integration examples rather than distributable packages.
Renames showcase/packages/ -> showcase/integrations/ and updates
the test docker-compose file reference accordingly.
2026-04-28 07:47:35 -07:00

702 B

QA: A2UI Fixed Schema — Spring AI

Prerequisites

  • Spring AI backend is up with A2uiFixedSchemaController mounted at /a2ui-fixed-schema/run

Test Steps

  • Navigate to /demos/a2ui-fixed-schema
  • Click the "Find SFO → JFK" suggestion
  • Verify a Flight Details card appears with SFO, arrow, JFK, UNITED badge, and a $289 price tag
  • Click "Book flight"
  • Verify the button transitions to "Booked ✓" (stateful ActionButton)

Expected Results

  • Spring tool display_flight returns the fixed schema + data model
  • A2UI middleware on runtime forwards it as ACTIVITY_SNAPSHOT events
  • Catalog pins Title/Airport/Arrow/AirlineBadge/PriceTag/Button to React renderers