<?php

use Inertia\Testing\AssertableInertia;

it('renders the groups help page with real internal links', function () {
    $this->get(route('help.groups'))
        ->assertOk()
        ->assertInertia(fn (AssertableInertia $page) => $page
            ->component('Group/GroupHelpPage')
            ->where('title', 'Groups Help & Guide')
            ->where('seo.canonical', route('help.groups'))
            ->where('links.groups_directory', route('groups.index'))
            ->where('links.create_group', route('studio.groups.create'))
            ->where('links.group_studio', route('studio.groups.index'))
            ->where('links.contact_support', route('contact.show'))
            ->where('links.report_issue', route('bug-report'))
        );
});