File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 29
29
<div class =" AppNav_menu" >
30
30
<a href =" {{ path(' app_turbo' ) }}" class =" AppNav_item" >Turbo</a >
31
31
<a href =" {{ path(' app_live_component' ) }}" class =" AppNav_item" >Live <span >Components</span ></a >
32
+ <a href =" {{ path(' app_icons' ) }}" class =" AppNav_item" >
33
+ <span class =" AppNav_badge" >New</span >
34
+ Icons
35
+ </a >
32
36
<a href =" {{ path(' app_packages' ) }}" class =" AppNav_item" >Packages</a >
33
37
<a href =" {{ path(' app_demos' ) }}" class =" AppNav_item" >Demos</a >
34
38
</div >
Original file line number Diff line number Diff line change @@ -21,6 +21,19 @@ final class IconsTest extends KernelTestCase
21
21
{
22
22
use HasBrowser;
23
23
24
+ public function testCanViewIconFromHomepage (): void
25
+ {
26
+ $ this ->browser ()
27
+ ->visit ('/ ' )
28
+ ->assertSuccessful ()
29
+ ->assertSeeIn ('.AppNav_menu ' , 'Icons ' )
30
+ ->click ('Icons ' )
31
+ ->assertSuccessful ()
32
+ ->assertSeeIn ('title ' , 'Icons ' )
33
+ ->assertSeeIn ('h1 ' , 'Icons ' )
34
+ ;
35
+ }
36
+
24
37
public function testCanViewIconIndex (): void
25
38
{
26
39
$ this ->browser ()
You can’t perform that action at this time.
0 commit comments