complete story 10.5
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user