File tree Expand file tree Collapse file tree
tests/Integration/Filament/Server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 $ this ->actingAs ($ user )
1616 ->get ("/server/ {$ server ->uuid_short }/overview " )
1717 ->assertOk ()
18- ->assertSee ('minecraft ' , escape: false )
19- ->assertSee ('Forge ' , escape: false );
18+ // eyebrow is flavour + version only — game was dropped in the
19+ // page-head redesign since it was a no-op on a minecraft-only
20+ // panel. only the flavour label remains.
21+ ->assertSee ('Forge ' , escape: false )
22+ ->assertDontSee ('minecraft ' , escape: false );
2023});
2124
22- test ('overview header collapses bedrock under minecraft for display ' , function () {
25+ test ('overview header eyebrow shows the egg name regardless of game tag ' , function () {
2326 $ egg = Egg::factory ()->withGameTag ('bedrock ' , 'BEDROCK_VERSION ' )->create (['name ' => 'Vanilla Bedrock ' ]);
2427 [$ user , $ server ] = seedAccountAndServer ([
2528 'egg_id ' => $ egg ->id ,
2831 $ this ->actingAs ($ user )
2932 ->get ("/server/ {$ server ->uuid_short }/overview " )
3033 ->assertOk ()
31- ->assertSee ('minecraft ' , escape: false )
3234 ->assertSee ('Vanilla Bedrock ' , escape: false );
3335});
3436
You can’t perform that action at this time.
0 commit comments