CodeceptJs passes test when unknown methode #4935
Replies: 6 comments
|
hi @deinlieblingskevin may you happen to reproduce the same issue with latest version? |
|
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 |
thanks for your prompt reply! My guess is that using TS would prevent us from having this kinda issue. |
|
thanks for the fast answer. how much efford is it to switch to typescript? |
https://codecept.io/typescript/#getting-started |
|
Thanks a @kobenguyent, i tried it on a spike to switch to ts and its really helpful! <3 |
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions