Header menu close test is inconsistent
The "Header component on narrow viewports clicking the close button hides search bar" end-to-end test in header.cy.ts fails more often than not with a strange error message:
See also job 465005.
I can manually verify that clicking the close button does indeed hide the search bar, so the problem is in the test.