<?php

it('renders the categories page with collection structured data', function () {
    $html = $this->get('/categories')
        ->assertOk()
        ->getContent();

    expect($html)
        ->toContain('application/ld+json')
        ->toContain('CollectionPage')
        ->toContain('Browse all categories on Skinbase');
});