| namespace Tests\Feature; | |
| use App\Models\User; | |
| use Illuminate\Foundation\Testing\DatabaseTransactions; | |
| use Tests\TestCase; | |
| class DashboardViewTest extends TestCase | |
| { | |
| use DatabaseTransactions; | |
| public function test_dashboard_displays_automation_panels(): void | |
| { | |
| $user = User::factory()->create(); | |
| $this->actingAs($user) | |
| ->get(route('dashboard')) | |
| ->assertOk() | |
| ->assertSeeText('Automation Ops Board') | |
| ->assertSeeText('Cron Scheduler Status') | |
| ->assertSeeText('Readiness by platform'); | |
| } | |
| } | |