<?php

use Inertia\Testing\AssertableInertia;

it('renders the groups faq page with related help links', function () {
    $this->get(route('help.groups.faq'))
        ->assertOk()
        ->assertInertia(fn (AssertableInertia $page) => $page
            ->component('Group/GroupFaqPage')
            ->where('title', 'Groups FAQ')
            ->where('seo.canonical', route('help.groups.faq'))
            ->where('links.full_documentation', route('help.groups'))
            ->where('links.quickstart', route('help.groups.quickstart'))
            ->where('links.group_studio', route('studio.groups.index'))
            ->where('links.create_group', route('studio.groups.create'))
            ->where('links.contact_support', route('contact.show'))
            ->where('links.report_issue', route('bug-report'))
        );
});