user
04/20/2021, 10:14 AMcy.on in the beforeEach (because using cy instead of Cypress should make it so they automatically get cleaned up between tests), but that does not seem to work, as it runs the content of the listener function provided too early.