28 lines
1.4 KiB
PHP
28 lines
1.4 KiB
PHP
<?php
|
|
|
|
use Inertia\Testing\AssertableInertia;
|
|
|
|
it('renders the troubleshooting help page with real internal links', function () {
|
|
$this->get(route('help.troubleshooting'))
|
|
->assertOk()
|
|
->assertInertia(fn (AssertableInertia $page) => $page
|
|
->component('Help/TroubleshootingHelpPage')
|
|
->where('title', 'Troubleshooting Help')
|
|
->where('seo.canonical', route('help.troubleshooting'))
|
|
->where('links.help_home', route('help'))
|
|
->where('links.help_auth', route('help.auth'))
|
|
->where('links.help_account', route('help.account'))
|
|
->where('links.help_profile', route('help.profile'))
|
|
->where('links.studio_help', route('help.studio'))
|
|
->where('links.upload_help', route('help.upload'))
|
|
->where('links.groups_help', route('help.groups'))
|
|
->where('links.groups_faq', route('help.groups.faq'))
|
|
->where('links.profile_settings', route('dashboard.profile'))
|
|
->where('links.open_studio', route('studio.index'))
|
|
->where('links.login', route('login'))
|
|
->where('links.register', route('register'))
|
|
->where('links.password_request', route('password.request'))
|
|
->where('links.contact_support', route('contact.show'))
|
|
->where('links.report_issue', route('bug-report'))
|
|
);
|
|
}); |