<?php

use Inertia\Testing\AssertableInertia;

it('renders the auth help page with real internal links', function () {
    $this->get(route('help.auth'))
        ->assertOk()
        ->assertInertia(fn (AssertableInertia $page) => $page
            ->component('Help/AuthHelpPage')
            ->where('title', 'Signup & Login Help')
            ->where('seo.canonical', route('help.auth'))
            ->where('links.help_home', route('help'))
            ->where('links.help_profile', route('help.profile'))
            ->where('links.studio_help', route('help.studio'))
            ->where('links.groups_help', route('help.groups'))
            ->where('links.help_account', route('help.account'))
            ->where('links.help_troubleshooting', route('help.troubleshooting'))
            ->where('links.login', route('login'))
            ->where('links.register', route('register'))
            ->where('links.password_request', route('password.request'))
            ->where('links.verification_notice', route('verification.notice'))
            ->where('links.open_studio', route('studio.index'))
            ->where('links.profile_settings', route('dashboard.profile'))
            ->where('links.contact_support', route('contact.show'))
            ->where('links.report_issue', route('bug-report'))
        );
});
