Commit workspace changes
This commit is contained in:
32
tests/Feature/Help/HelpCenterPageTest.php
Normal file
32
tests/Feature/Help/HelpCenterPageTest.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the help center homepage with key platform help links', function () {
|
||||
$this->get(route('help'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Help/HelpCenterPage')
|
||||
->where('title', 'Help Center')
|
||||
->where('seo.canonical', route('help'))
|
||||
->where('links.studio_help', route('help.studio'))
|
||||
->where('links.upload_help', route('help.upload'))
|
||||
->where('links.groups_documentation', route('help.groups'))
|
||||
->where('links.groups_quickstart', route('help.groups.quickstart'))
|
||||
->where('links.groups_faq', route('help.groups.faq'))
|
||||
->where('links.open_studio', route('studio.index'))
|
||||
->where('links.studio_home', route('studio.index'))
|
||||
->where('links.upload', route('upload'))
|
||||
->where('links.help_cards', route('help.cards'))
|
||||
->where('links.help_profile', route('help.profile'))
|
||||
->where('links.help_auth', route('help.auth'))
|
||||
->where('links.help_account', route('help.account'))
|
||||
->where('links.help_troubleshooting', route('help.troubleshooting'))
|
||||
->where('links.cards_create', route('studio.cards.create'))
|
||||
->where('links.profile_settings', route('dashboard.profile'))
|
||||
->where('links.login', route('login'))
|
||||
->where('links.register', route('register'))
|
||||
->where('links.contact_support', route('contact.show'))
|
||||
->where('links.report_issue', route('bug-report'))
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user