Add tests for Infobox visibility on desktop and mobile screens