Current behavior:
test:after:run hangs
Steps to reproduce:
Sample test:
Cypress.on('test:after:run', () => {
throw new Error('foo');
});
describe('Test 2', () => {
it('will send out request', () => {
expect(true).to.eq(true);
});
});
Meanwhile, this works fine:
Cypress.on('test:before:run', () => {
throw new Error('foo');
});
describe('Test 1', () => {
it('will send out request', () => {
expect(true).to.eq(true);
});
});
What am I missing?
Versions
- Operating System: Mac OS 10.12.6
- Cypress Version: 3.0.3
- Browser Version: Chrome 68.0.3440.75
Current behavior:
test:after:runhangsSteps to reproduce:
Sample test:
Meanwhile, this works fine:
What am I missing?
Versions