Download tests/Feature/DashboardViewTest.php from medilis/teknolis: direct link, hf CLI and curl.
- Browser
- Download file 586 Bytes
-
https://huggingface.co/spaces/medilis/teknolis/resolve/main/tests/Feature/DashboardViewTest.php
- Command line
-
hf download hf://spaces/medilis/teknolis/tests/Feature/DashboardViewTest.php
-
curl -L -o DashboardViewTest.php https://huggingface.co/spaces/medilis/teknolis/resolve/main/tests/Feature/DashboardViewTest.php
586 Bytes
| 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'); | |
| } | |
| } | |