## Summary - harden operation-run lifecycle handling with explicit reconciliation policy, stale-run healing, failed-job bridging, and monitoring visibility - refactor audit log event inspection into a Filament slide-over and remove the stale inline detail/header-action coupling - align panel theme asset resolution and supporting Filament UI updates, including the rounded 2xl theme token regression fix ## Testing - ran focused Pest coverage for the affected audit-log inspection flow and related visibility tests - ran formatting with `vendor/bin/sail bin pint --dirty --format agent` - manually verified the updated audit-log slide-over flow in the integrated browser ## Notes - branch includes the Spec 160 artifacts under `specs/160-operation-lifecycle-guarantees/` - the full test suite was not rerun as part of this final commit/PR step Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #190
27 lines
819 B
PHP
27 lines
819 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Support\Filament\PanelThemeAsset;
|
|
|
|
it('resolves the built Filament admin theme from the manifest', function (): void {
|
|
$asset = PanelThemeAsset::resolve('resources/css/filament/admin/theme.css');
|
|
|
|
expect($asset)
|
|
->toContain('/build/assets/theme-')
|
|
->not->toContain(':5173');
|
|
});
|
|
|
|
it('injects the Livewire intercept shim into Filament pages', function (): void {
|
|
$this->get('/admin/login')
|
|
->assertSuccessful()
|
|
->assertSee('js/tenantpilot/livewire-intercept-shim.js', escape: false);
|
|
});
|
|
|
|
it('ships a shim that waits for Livewire initialization', function (): void {
|
|
$js = file_get_contents(public_path('js/tenantpilot/livewire-intercept-shim.js'));
|
|
|
|
expect($js)->toBeString();
|
|
expect($js)->toContain('livewire:init');
|
|
});
|