Hello! I wanted to contribute and add a waitWhileVisible method (based on our discussion in #20 ), but I can't seem to be able to falsify the tests: as long as there is a method with the given name the test passes, no matter if the method does anything at all.
I tried the same with already existing methods, namely wait and waitUntilVisible, and the result is the same: if I strip away the content of the method entirely
class Document {
// ...
async wait (cond) {}
}
the test still passes once I run npm run compile && npm run test
Hello! I wanted to contribute and add a
waitWhileVisible
method (based on our discussion in #20 ), but I can't seem to be able to falsify the tests: as long as there is a method with the given name the test passes, no matter if the method does anything at all.I tried the same with already existing methods, namely
wait
andwaitUntilVisible
, and the result is the same: if I strip away the content of the method entirelythe test still passes once I run
npm run compile && npm run test
I'm probably missing something obvious here...