we should avoid using `setTimeout` in our tests where possible, and we can avoid it here by opening a second window.