when the [[ https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/tags/1.39.3/tests/selenium/specs/page.js#46 | second test ]] in `tests/selenium/specs/page.js` executes, the following alert appears:
`'Leave site? Changes that you made may not be saved.`
this alert blocks continuation to subsequent tests. it has a `Cancel` and a `Leave` button
the current work-around for getting past this alert is calling [[ https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/wmf/1.40.0-wmf.27/tests/selenium/specs/page.js#27 | browser.reloadSession() ]], but that's an [[ https://webdriver.io/docs/api/browser/reloadSession | expensive ]] operation
it would be preferable to just handle that alert by programmatically choosing the "Leave" option rather than reloading the entire session