Commit workspace changes
This commit is contained in:
26
tests/Feature/Help/AccountHelpPageTest.php
Normal file
26
tests/Feature/Help/AccountHelpPageTest.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the account help page with real internal links', function () {
|
||||
$this->get(route('help.account'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Help/AccountHelpPage')
|
||||
->where('title', 'Account Settings Help')
|
||||
->where('seo.canonical', route('help.account'))
|
||||
->where('links.help_home', route('help'))
|
||||
->where('links.help_auth', route('help.auth'))
|
||||
->where('links.help_profile', route('help.profile'))
|
||||
->where('links.studio_help', route('help.studio'))
|
||||
->where('links.upload_help', route('help.upload'))
|
||||
->where('links.help_troubleshooting', route('help.troubleshooting'))
|
||||
->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'))
|
||||
);
|
||||
});
|
||||
27
tests/Feature/Help/AuthHelpPageTest.php
Normal file
27
tests/Feature/Help/AuthHelpPageTest.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the auth help page with real internal links', function () {
|
||||
$this->get(route('help.auth'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Help/AuthHelpPage')
|
||||
->where('title', 'Signup & Login Help')
|
||||
->where('seo.canonical', route('help.auth'))
|
||||
->where('links.help_home', route('help'))
|
||||
->where('links.help_profile', route('help.profile'))
|
||||
->where('links.studio_help', route('help.studio'))
|
||||
->where('links.groups_help', route('help.groups'))
|
||||
->where('links.help_account', route('help.account'))
|
||||
->where('links.help_troubleshooting', route('help.troubleshooting'))
|
||||
->where('links.login', route('login'))
|
||||
->where('links.register', route('register'))
|
||||
->where('links.password_request', route('password.request'))
|
||||
->where('links.verification_notice', route('verification.notice'))
|
||||
->where('links.open_studio', route('studio.index'))
|
||||
->where('links.profile_settings', route('dashboard.profile'))
|
||||
->where('links.contact_support', route('contact.show'))
|
||||
->where('links.report_issue', route('bug-report'))
|
||||
);
|
||||
});
|
||||
24
tests/Feature/Help/CardsHelpPageTest.php
Normal file
24
tests/Feature/Help/CardsHelpPageTest.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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'))
|
||||
);
|
||||
});
|
||||
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'))
|
||||
);
|
||||
});
|
||||
25
tests/Feature/Help/ProfileHelpPageTest.php
Normal file
25
tests/Feature/Help/ProfileHelpPageTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the profile help page with real internal links', function () {
|
||||
$this->get(route('help.profile'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Help/ProfileHelpPage')
|
||||
->where('title', 'Profile Help')
|
||||
->where('seo.canonical', route('help.profile'))
|
||||
->where('links.help_home', route('help'))
|
||||
->where('links.groups_help', route('help.groups'))
|
||||
->where('links.studio_help', route('help.studio'))
|
||||
->where('links.upload_help', route('help.upload'))
|
||||
->where('links.cards_help', route('help.cards'))
|
||||
->where('links.profile_settings', route('dashboard.profile'))
|
||||
->where('links.open_studio', route('studio.index'))
|
||||
->where('links.help_auth', route('help.auth'))
|
||||
->where('links.login', route('login'))
|
||||
->where('links.register', route('register'))
|
||||
->where('links.contact_support', route('contact.show'))
|
||||
->where('links.report_issue', route('bug-report'))
|
||||
);
|
||||
});
|
||||
23
tests/Feature/Help/StudioHelpPageTest.php
Normal file
23
tests/Feature/Help/StudioHelpPageTest.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the studio help page with real internal links', function () {
|
||||
$this->get(route('help.studio'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Help/StudioHelpPage')
|
||||
->where('title', 'Studio Help')
|
||||
->where('seo.canonical', route('help.studio'))
|
||||
->where('links.open_studio', route('studio.index'))
|
||||
->where('links.studio_drafts', route('studio.drafts'))
|
||||
->where('links.upload_help', route('help.upload'))
|
||||
->where('links.group_studio', route('studio.groups.index'))
|
||||
->where('links.groups_help', route('help.groups'))
|
||||
->where('links.help_cards', route('help.cards'))
|
||||
->where('links.help_profile', route('help.profile'))
|
||||
->where('links.help_auth', route('help.auth'))
|
||||
->where('links.contact_support', route('contact.show'))
|
||||
->where('links.report_issue', route('bug-report'))
|
||||
);
|
||||
});
|
||||
28
tests/Feature/Help/TroubleshootingHelpPageTest.php
Normal file
28
tests/Feature/Help/TroubleshootingHelpPageTest.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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'))
|
||||
);
|
||||
});
|
||||
22
tests/Feature/Help/UploadHelpPageTest.php
Normal file
22
tests/Feature/Help/UploadHelpPageTest.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the upload help page with real internal links', function () {
|
||||
$this->get(route('help.upload'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Help/UploadHelpPage')
|
||||
->where('title', 'Upload Help')
|
||||
->where('seo.canonical', route('help.upload'))
|
||||
->where('links.upload', route('upload'))
|
||||
->where('links.studio_help', route('help.studio'))
|
||||
->where('links.studio_drafts', route('studio.drafts'))
|
||||
->where('links.groups_help', route('help.groups'))
|
||||
->where('links.group_studio', route('studio.groups.index'))
|
||||
->where('links.help_cards', route('help.cards'))
|
||||
->where('links.help_profile', route('help.profile'))
|
||||
->where('links.contact_support', route('contact.show'))
|
||||
->where('links.report_issue', route('bug-report'))
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user