cypress coding dos and dont's #21612
Unanswered
aelbore
asked this question in
Component Testing
Replies: 1 comment
-
I'd kill that with I like the function too. Creating a function just for testing, hard-core, but probably not necessary. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Should i provide a component function to cypress or should i do it in cypress like query the element?
for example: counter component
should i create an
increment
ordecrement
function in the component or should i querySelect the button the invoke the click event?in cypress
or
which is prepared to do?
Beta Was this translation helpful? Give feedback.
All reactions