What is Prevented Default
column in the command log?
#19946
Unanswered
haeguri
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
In my test,
type()
was called to enter a value in the input element.However, when I checked the results of the Cypress test run,
it was entered only up to
"cyp"
and"ress.e2e.test"
was not entered.So I checked on Command Log how the type was executed.
Question
(1) What does the
Prevented Default
column represent in the command log?Why is
Prevented Default
marked astrue
for characters that fail to input? (e.g."r",
"e"
,"s"
,"s"
, ...)(2) Why don't
beforeinput
,textInput
,input
event trigger when entering"ress.e2e.test"
?Beta Was this translation helpful? Give feedback.
All reactions