👩💻 Join our community of thousands of amazing developers!
Example applicationSupport fileBefore hooksBefore hooks when running all specsBeforeEach hookSolutionExample applicationIn our example application we have two spec files and a support file.12345678repo/ cypress/ integration/ spec-a.js spec-b.js support/ index.js cypress.jsonThe spec files have two tests each.cypress/integration/spec-a.js123456789context('spec a', () => { it('works', function () { expect(1).to.equal(1) }) it('works 2', function () { expect(1).to.eq...