codeceptjs / helper

Base class for CodeceptJS helpers
MIT License
1 stars 4 forks source link

Make toString a function #1

Closed il-bot closed 3 years ago

il-bot commented 3 years ago

See issue in main repository. The problem occurs in lib/step.js:111, as toString property of the async function argument (second parameter to usePlaywrightTo) is not a function, which causes the step output to fail.

vadimk7 commented 3 years ago

@DavertMik ?

elaichenkov commented 3 years ago

It would be great to merge this PR and fix the issue.

Because currently, we're not able to use the usePlaywrightTo method.

DavertMik commented 3 years ago

Thanks for repored. Let it work. I am releasing a new version of this library so if you run npm update it should be updated