cypress key event code example
Example 1: cypress backspace
cy.get('input').type('{backspace}')
Example 2: cypress type force
cy.get('whatever').type('Test all the things', { force: true });
cy.get('input').type('{backspace}')
cy.get('whatever').type('Test all the things', { force: true });