<?php

use Inertia\Testing\AssertableInertia;

it('renders the cards help page with real internal links', function () {
    $this->get(route('help.cards'))
        ->assertOk()
        ->assertInertia(fn (AssertableInertia $page) => $page
            ->component('Help/CardsHelpPage')
            ->where('title', 'Cards Help')
            ->where('seo.canonical', route('help.cards'))
            ->where('links.help_home', route('help'))
            ->where('links.studio_help', route('help.studio'))
            ->where('links.upload_help', route('help.upload'))
            ->where('links.groups_help', route('help.groups'))
            ->where('links.open_studio', route('studio.index'))
            ->where('links.studio_cards', route('studio.cards.index'))
            ->where('links.create_card', route('studio.cards.create'))
            ->where('links.cards_index', route('cards.index'))
            ->where('links.help_profile', route('help.profile'))
            ->where('links.contact_support', route('contact.show'))
            ->where('links.report_issue', route('bug-report'))
        );
});