I have an issue when using the Cypress type() command in the way I want.
My objective
I want to be able to select and delete text in a textfield. I want this done via holding the shift key, pressing the right arrow key multiple times and then pressing the delete key.
My attempt
//hold shift
cy.type('{shift}');
//navigate to end of 10 letter word
cy.type('{rightarrow}'.repeat(10));
//press delete
cy.type('{del}');