<?php

use App\Filament\Pages\BaselineCompareLanding;

it('uses baseline compare landing as the drift entry point post-cutover', function (): void {
    [$user, $tenant] = createUserWithTenant(role: 'owner');

    $this->actingAs($user)
        ->get(BaselineCompareLanding::getUrl(tenant: $tenant, panel: 'tenant'))
        ->assertOk();

    $this->actingAs($user)
        ->get('/admin/t/'.$tenant->external_id.'/drift-landing')
        ->assertNotFound();
});
