new design with nice layout

This commit is contained in:
Mark Gregory
2026-11-19 18:12:33 +00:00
parent a7764a3483
commit 6c433f6577
9 changed files with 148 additions and 11 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class AbsdevBrandAndHomeTest extends TestCase {
use RefreshDatabase;
public function test_homepage_has_a_complete_hero_without_seed_data(): void {
$this->get('/')->assertOk()->assertSee('Ideas')->assertSee('Technology with a human touch.');
}
public function test_homepage_links_to_the_new_pages_and_favicon(): void {
$this->get('/')->assertOk()->assertSee('/favicon.svg')->assertSee('href="'.route('services').'"', false)
->assertSee('href="'.route('expertise').'"', false)->assertSee('href="'.route('approach').'"', false);
}
public function test_hidden_cms_section_stays_hidden(): void {
$this->seed(\Database\Seeders\SiteContentSeeder::class);
\App\Models\SiteSection::where('key','hero')->update(['is_visible'=>false]);
$this->get('/')->assertOk()->assertDontSee('Ideas<span',false);
}
}