What you did: I design an input number component that only changes with the -webkit-inner-spin-button and -webkit-inner-outer-button between the min and max value which was given the input
What happened: I can not select -webkit-inner-spin-button and -webkit-inner-outer-button and click it.
Problem description: I design an input number component that only changes with the -webkit-inner-spin-button and -webkit-inner-outer-button between the min and max value which was given the input, if the user types a value with the keyboard, I control with a custom handler function and give an error, not the change the value of the input.But the problem is I can not test it, because I can not select -webkit-inner-spin-button and -webkit-inner-outer-button and click it.
Suggested solution: I want to click spinbutton -webkit-inner-spin-button and -webkit-outer-spin-button.
cypress-testing-library
version: 12.0.0node
version: 14.0npm
(oryarn
) version: 8.0Relevant code or config
What you did: I design an input number component that only changes with the -webkit-inner-spin-button and -webkit-inner-outer-button between the min and max value which was given the input
What happened: I can not select -webkit-inner-spin-button and -webkit-inner-outer-button and click it.
Reproduction repository: example react code
Problem description: I design an input number component that only changes with the -webkit-inner-spin-button and -webkit-inner-outer-button between the min and max value which was given the input, if the user types a value with the keyboard, I control with a custom handler function and give an error, not the change the value of the input.But the problem is I can not test it, because I can not select -webkit-inner-spin-button and -webkit-inner-outer-button and click it.
Suggested solution: I want to click spinbutton -webkit-inner-spin-button and -webkit-outer-spin-button.