complete story 10.5

This commit is contained in:
Naser Mansour
2026-01-03 03:54:27 +02:00
parent de606da191
commit e9a478108a
9 changed files with 321 additions and 123 deletions
@@ -3,7 +3,7 @@
test('logo component renders with default props', function () {
$view = $this->blade('<x-app-logo />');
$view->assertSee('Libra Law Firm');
$view->assertSee('LIBRA for Rights');
$view->assertSee('logo.svg');
});
@@ -47,13 +47,13 @@ test('logo component renders with text when showText is true', function () {
$view = $this->blade('<x-app-logo :showText="true" />');
$view->assertSee('<span', false);
$view->assertSee('Libra Law Firm');
$view->assertSee('LIBRA for Rights');
});
test('logo has accessible alt text', function () {
$view = $this->blade('<x-app-logo />');
$view->assertSee('alt="Libra Law Firm"', false);
$view->assertSee('alt="LIBRA for Rights"', false);
});
test('logo has PNG fallback via onerror attribute', function () {