CodeceptJs passes test when unknown methode #4935
Replies: 6 comments
-
hi @deinlieblingskevin may you happen to reproduce the same issue with latest version? |
Beta Was this translation helpful? Give feedback.
-
its a big software and right now we cannot upgrade. maybe in january we will be able to do so and try the latest version |
Beta Was this translation helpful? Give feedback.
-
thanks for your prompt reply! My guess is that using TS would prevent us from having this kinda issue. |
Beta Was this translation helpful? Give feedback.
-
thanks for the fast answer. how much efford is it to switch to typescript? |
Beta Was this translation helpful? Give feedback.
-
https://codecept.io/typescript/#getting-started |
Beta Was this translation helpful? Give feedback.
-
Thanks a @kobenguyent, i tried it on a spike to switch to ts and its really helpful! <3 |
Beta Was this translation helpful? Give feedback.
-
What are you trying to achieve?
First off: we could manage to archieve autocompletion in our ide
So there can be some mistakes while writing a test. like in this example my coworker had a spelling in a method which lead to a passing test, even though it was all not valid (text was not there, button was not pressed).
We tried to call a methode that definitly doesnt exist. "sfslfdsflkds" and if we do so, the test always passes.
can we change this behaviour to failing? or an error message or something?
What do you get instead?
Error message or failing test or something related..
Details
Beta Was this translation helpful? Give feedback.
All reactions