teknolis / tests /Feature /DashboardViewTest.php
OpenAI Codex
Fix storage symlink and adapt cron status for Spaces
1501522
Raw
History Blame Contribute Delete
586 Bytes
<?php
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');
}
}