fix(ui): update PageHead test to match current component behavior

Agent-Logs-Url: https://github.com/deytenit/ermnvldmr.com/sessions/a06f65c8-6fb7-43e9-82ba-0c00477c05aa

Co-authored-by: deytenit <60275123+deytenit@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]anddeytenit authored and GitHub committed 2026-05-04 15:03:37 +00:00
1 parent 208f6406e6
commit 296dd8af3d
1 file changed
+2 -2
@@ -32,7 +32,7 @@ describe('PageHead', () => {
it('applies the correct classes for the strategy', () => {
render(<PageHead heading="Test" strategy="always-collapsed-fixed" />);
const header = screen.getByRole('banner');
expect(header).toHaveClass('sticky');
expect(header).toHaveClass('shadow-md');
expect(header).toHaveClass('fixed');
expect(header).not.toHaveClass('sticky');
});
});