Incrementing and decrementing the value of an <input type=“number”/> in Cypress
问题 I would like to test incrementing and decrementing the value of an HTML input field ( type="number" ) in Cypress. More precisely, I would prefer to increment and decrement the value using the arrow keys, but I can't seem to get this to work using the most apparent approach. As a minimal working example, I have set up a React component whose render method looks as follows: render() { return (<input type="number" />); }; Outside of Cypress, typing into this field works without any problems. The