It would be nice to be able to exercise flaky tests simply by specifying the burn parameter in the test itself. Then this test would automatically repeat N times
describe('Flaky test', function () {
// repeats 5 times
it('should focus on the todo input field', { burn: 5 }, function () {
cy.visit('/')
cy.focused().should('have.class', 'new-todo')
})
})
It would be nice to be able to exercise flaky tests simply by specifying the
burn
parameter in the test itself. Then this test would automatically repeat N times