Separate dashboard functions from grouped administration operations
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-14 12:25:27 +02:00
parent 88f18d0b7e
commit 96f510965f
14 changed files with 259 additions and 81 deletions
@@ -25,6 +25,9 @@ final class EditorialDashboardBuildTest extends TestCase
$actor = User::factory()->create();
config(['portal.managers' => [$actor->email]]);
$this->actingAsWithMfa($actor);
$nativeKey = 'resources/js/pages/dashboard.tsx';
$this->assertArrayHasKey($nativeKey, $manifest);
$this->get('/dashboard', ['Accept' => 'text/html'])->assertOk()->assertSee($manifest[$nativeKey]['file'], false);
foreach (['/management/editorial', '/management/editorial?kind=legislation'] as $url) {
$this->get($url, ['Accept' => 'text/html'])->assertOk()->assertSee('data-page=', false)->assertSee($manifest[$key]['file'], false);
}