| namespace Tests\Feature; | |
| use App\Models\User; | |
| use Illuminate\Foundation\Testing\DatabaseTransactions; | |
| use Tests\TestCase; | |
| class ChatViewTest extends TestCase | |
| { | |
| use DatabaseTransactions; | |
| public function test_chat_page_displays_premium_workspace_panels(): void | |
| { | |
| $user = User::factory()->create(); | |
| $this->actingAs($user) | |
| ->get(route('chat.index')) | |
| ->assertOk() | |
| ->assertSeeText('AI Conversation Studio') | |
| ->assertSeeText('Live Conversation Feed') | |
| ->assertSeeText('Compose Next Prompt'); | |
| } | |
| } | |