Compare commits
2 Commits
fix/browse
...
feat/remov
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a4dcde17b | |||
| 1425d7aaa1 |
@@ -241,10 +241,6 @@
|
|||||||
* Campos obrigatórios. Seus dados são usados apenas para responder à sua solicitação.
|
* Campos obrigatórios. Seus dados são usados apenas para responder à sua solicitação.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="border border-dashed border-amare-sage px-6 py-5">
|
|
||||||
<p class="text-sm text-amare-muted">Fornecedores e parcerias — pós-MVP. Não misturar este público ao briefing comercial. Quando validado, criar um canal/formulário institucional próprio.</p>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -93,8 +93,7 @@ it('reaches the primary CTA by keyboard and activates it', function (): void {
|
|||||||
|
|
||||||
$page->keys('[data-testid="home-primary-cta"]', 'Enter');
|
$page->keys('[data-testid="home-primary-cta"]', 'Enter');
|
||||||
|
|
||||||
$hash = $page->script('() => window.location.hash');
|
$page->assertPathIs('/contato');
|
||||||
expect($hash)->toBe('#sobre');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('disables transitions when prefers-reduced-motion is reduce', function (): void {
|
it('disables transitions when prefers-reduced-motion is reduce', function (): void {
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ it('opens home motion, reveals once, and allows CTA during open', function (): v
|
|||||||
|
|
||||||
$page->click('[data-testid="home-primary-cta"]');
|
$page->click('[data-testid="home-primary-cta"]');
|
||||||
|
|
||||||
expect($page->script('() => window.location.hash'))->toBe('#sobre');
|
$page->assertPathIs('/contato');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('keeps content and navigation usable without javascript', function (): void {
|
it('keeps content and navigation usable without javascript', function (): void {
|
||||||
@@ -171,7 +171,7 @@ it('keeps content and navigation usable without javascript', function (): void {
|
|||||||
->assertVisible('[data-testid="home-primary-cta"]')
|
->assertVisible('[data-testid="home-primary-cta"]')
|
||||||
->click('[data-testid="home-primary-cta"]');
|
->click('[data-testid="home-primary-cta"]');
|
||||||
|
|
||||||
expect($page->script('() => window.location.hash'))->toBe('#sobre');
|
$page->assertPathIs('/contato');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('keeps targets final when intersection observer is unavailable', function (): void {
|
it('keeps targets final when intersection observer is unavailable', function (): void {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ it('renders the public home page', function (): void {
|
|||||||
$settings = SiteSetting::instance();
|
$settings = SiteSetting::instance();
|
||||||
|
|
||||||
$this->visit('/')
|
$this->visit('/')
|
||||||
->assertSee('Eventos com intenção, cuidado e presença.')
|
->assertSee($settings->hero_title)
|
||||||
->assertSee($settings->brand_name);
|
->assertSee($settings->brand_name);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -107,8 +107,7 @@ class HomePageContentTest extends TestCase
|
|||||||
], false)
|
], false)
|
||||||
->assertSee('FOTO DE CASAMENTO 01')
|
->assertSee('FOTO DE CASAMENTO 01')
|
||||||
->assertSee('Nome e data reais — aguardando autorização')
|
->assertSee('Nome e data reais — aguardando autorização')
|
||||||
->assertSee('Conteúdo em construção')
|
->assertSee('Conteúdo em construção');
|
||||||
->assertSee('Fornecedores e parcerias — pós-MVP');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_hero_falls_back_to_default_copy_when_fields_are_empty(): void
|
public function test_hero_falls_back_to_default_copy_when_fields_are_empty(): void
|
||||||
|
|||||||
Reference in New Issue
Block a user