<?php

use Inertia\Testing\AssertableInertia;

it('renders the profile help page with real internal links', function () {
    $this->get(route('help.profile'))
        ->assertOk()
        ->assertInertia(fn (AssertableInertia $page) => $page
            ->component('Help/ProfileHelpPage')
            ->where('title', 'Profile Help')
            ->where('seo.canonical', route('help.profile'))
            ->where('links.help_home', route('help'))
            ->where('links.groups_help', route('help.groups'))
            ->where('links.studio_help', route('help.studio'))
            ->where('links.upload_help', route('help.upload'))
            ->where('links.cards_help', route('help.cards'))
            ->where('links.profile_settings', route('dashboard.profile'))
            ->where('links.open_studio', route('studio.index'))
            ->where('links.help_auth', route('help.auth'))
            ->where('links.login', route('login'))
            ->where('links.register', route('register'))
            ->where('links.contact_support', route('contact.show'))
            ->where('links.report_issue', route('bug-report'))
        );
});