Put this in a suiteSetup and then restore `document.hidden` in a suiteTeardown