TenantAtlas/tests/Feature/Drift/DriftLandingCopyTest.php
2026-02-14 19:17:28 +01:00

17 lines
441 B
PHP

<?php
use App\Filament\Pages\DriftLanding;
use Filament\Facades\Filament;
use Livewire\Livewire;
it('uses operation runs wording on the drift landing page', function (): void {
[$user, $tenant] = createUserWithTenant(role: 'manager');
$this->actingAs($user);
Filament::setTenant($tenant, true);
Livewire::test(DriftLanding::class)
->assertSee('operation runs')
->assertDontSee('inventory sync runs');
});