File size: 590 Bytes
1501522 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <?php
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');
}
}
|