rafaochoa
rafaochoa
TTCTheo's Typesafe Cult
Created by om3r on 1/8/2024 in #questions
How can I api useQuery when calling a function?
what do you mean with "skip - take easily"?
10 replies
TTCTheo's Typesafe Cult
Created by Steven on 1/9/2024 in #questions
Next.Js testing
I would suggest to test things that are fundamental for the user experience. An example, you have an routine that needs to be called using a button For this you have to pass a method that should be called if a button was clicked. You would need to find the label of the button, trigger a click event and see how many times was called. Doing like this tells you that the user was able to find that button. I would strongly suggest to stay away from test that try to find a data-test-id or something like does not represent the way the app is going to be experienced
6 replies