* Drag-and-drop section ordering with automatic saving.
* Add existing reusable documents to regions.
* Remove placements without deleting documents.
* Create independent page-specific copies.
* Shared-document usage warnings.
* Document creation, duplication, deletion protection and filtering.
* Draft and published document states.
* Document and placement scheduling.
* Authenticated homepage preview.
* Draft sections displayed in preview with a clear draft marker.
* Content Composer added to the administration sidebar.
* Public rendering now respects:
* Publication status
* Future publication dates
* Expiry dates
* Placement start and end dates
* Enabled state
* Original Saasland homepage remains as the fallback when no composition exists.
22 lines
563 B
PHP
22 lines
563 B
PHP
<?php
|
|
|
|
namespace Modules\Stylist\Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
final class WelcomeThemeViewTest extends TestCase
|
|
{
|
|
public function test_bundled_saasland_theme_view_namespace_is_registered(): void
|
|
{
|
|
$this->assertTrue(view()->exists('stylist-theme-saasland::home'));
|
|
}
|
|
|
|
public function test_home_route_renders_the_saasland_theme(): void
|
|
{
|
|
$this->get('/')
|
|
->assertOk()
|
|
->assertViewIs('stylist-theme-saasland::home')
|
|
->assertSee('Transform Your Business With Our SaaS Solution');
|
|
}
|
|
}
|