https://cypress.io logo
Good evening. I am triying to test an input field ...
# e2e-testing
c
Good evening. I am triying to test an input field for OTP (One Time Password) that automatically moves to the next box when a number is entered in the previous one. That means you don't need to click the next box to enter data. Once the preceding box is filled, the next box is automatically focused. The challenge is that when I run the test, I get the error "cy.type() can only be called on a single element. Your subject contained 8 elements." Need help to fix this.