Ergänze Aufbewahrung, Dokumentation und den Vertrag der Widget-Registry für das Widget Anfrage
CI Feature / test (push) Successful in 4m41s

Der Registry-Test erlaubt bewusst Widgets, die nur aus einem Verweis bestehen (Anfrage: nur die Kennung eines
Einstiegs) und kennt die neue Widget-Art. ADR-60, Beschreibung der Kommunikationsverwaltung, Rückfall und
Migration in der Release-Vorbereitung. Der Browser meldet laufende Zustandsabfragen über aria-busy.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-27 17:51:04 +01:00
1 parent c6a8167601
commit 22f8afdcd6
9 files changed
+257 -6

No files matched your search

+3 -2
View File
@@ -28,7 +28,7 @@ public function test_all_configured_widgets_are_registered_with_complete_contrac
$types = $this->registry()->all();
$this->assertSame(
['hero', 'heading', 'prose', 'notice', 'image_text', 'cards', 'features', 'catalog_cards', 'topic_card', 'media_card', 'program_card', 'call_to_action', 'faq', 'shop_products'],
['hero', 'heading', 'prose', 'notice', 'image_text', 'cards', 'features', 'catalog_cards', 'topic_card', 'media_card', 'program_card', 'call_to_action', 'faq', 'shop_products', 'inquiry'],
array_keys($types),
);
@@ -39,7 +39,8 @@ public function test_all_configured_widgets_are_registered_with_complete_contrac
$this->assertGreaterThanOrEqual(1, $type->version());
$this->assertNotEmpty($type->variants());
$this->assertArrayHasKey($type->defaultVariant(), $type->variants());
$this->assertNotEmpty($type->dataRules());
// Ein Widget darf allein aus einem Verweis bestehen (zum Beispiel „inquiry“: nur die Kennung eines Anfrage-Einstiegs).
$this->assertNotEmpty(array_merge($type->dataRules(), $type->refRules()));
$this->assertNotEmpty($type->editorSchema());
$this->assertTrue(view()->exists($type->view()), "Ansicht für $key fehlt");
}