Prozesskonfigurator: fachliche Prozessblöcke als Hauptansicht, Detailpanel je Block, Entwurf verwerfen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4554af8056
commit
664f00e510
8 files changed
+766
-185
No files matched your search
@@ -65,15 +65,16 @@ public function test_the_page_shows_the_business_decisions_first_and_keeps_the_s
|
||||
|
||||
Livewire::test(ChannelProcess::class, ['record' => $ds->getRouteKey()])
|
||||
->call('chooseModel', 'external.booking')
|
||||
->assertSee('Geschäftsentscheidungen')
|
||||
->assertSee('Der Geschäftsprozess')
|
||||
->call('selectBlock', 'finance')
|
||||
->assertSee('Wer zieht das Geld des Gastes ein?')
|
||||
->assertSee('Eigenes Inkasso')
|
||||
->assertSee('Portal-Inkasso')
|
||||
->assertSee('Eigene Vertragsdokumentation')
|
||||
->assertSee('Externe Vertragsunterlagen')
|
||||
->assertSee('Mehrstufige Mahnungen', escape: false)
|
||||
->assertSee('Einzelschritte einstellen')
|
||||
->assertSee('Zahlungen des Gastes');
|
||||
->assertSee('Zahlungen des Gastes')
|
||||
->call('selectBlock', 'documents')
|
||||
->assertSee('Eigene Vertragsdokumentation')
|
||||
->assertSee('Externe Vertragsunterlagen');
|
||||
}
|
||||
|
||||
public function test_an_archetype_moves_to_the_base_process_with_the_same_combination_and_saves(): void
|
||||
@@ -101,7 +102,7 @@ public function test_a_template_the_portal_cannot_support_cannot_be_chosen_and_s
|
||||
|
||||
$page->call('chooseTemplate', 'collection', 'collection.own');
|
||||
$this->assertSame('collection.portal', $page->get('drafts')['booking']['templates']['collection'], 'refused: FeWo-direkt collects the money');
|
||||
$page->assertSee('Passt gerade nicht')->assertSee('Zieht das Portal das Geld des Gastes ein?');
|
||||
$page->call('selectBlock', 'finance')->assertSee('Passt gerade nicht')->assertSee('Zieht das Portal das Geld des Gastes ein?');
|
||||
|
||||
// The landlord corrects the capability first: now the template fits.
|
||||
$page->set('capabilityDraft.collects_payment', '0')->call('chooseTemplate', 'collection', 'collection.own');
|
||||
|
||||
Reference in new issue
Block a user