### Current behavior In some circumstances invovling skipped tests and the Cypress 'fail' event listener a failure screenshot will be taken when it shouldn't be. ### Desired behavior 1. A failure screenshot should never be taken when the test is skipped. 2. The `fail` event handler shouldn't be triggered during skipped tests. ### Test code to reproduce `spec.js` ```js Cypress.on('fail', () => { throw new Error('error') }) describe('tests', () => { before(function () { this.skip() }) it('failing test', () => { expect(true).to.be.false }) }) ``` <img width="829" alt="Screen Shot 2021-08-09 at 2 14 45 PM" src="https://user-images.githubusercontent.com/1271364/128761523-22bfa84e-edf0-4cda-ac1d-38ebe5f5ecec.png"> ### Cypress Version 8.2.0 ### Other _No response_