Online Training: Web test automation with CodeceptJS. Sign up now!

Can I use CodeceptJS API with docker?

Hi! I need to use Event Listeners, but my tests run in docker, so I get the error “Cannot find module ‘codeceptjs’”. How can I use the CodeceptJS API to work with docker? I want to use “event.test.passed” and “event.test.failed”.

Hi, are you using this dockerfile https://hub.docker.com/r/codeception/codeceptjs/dockerfile and have you read this https://codecept.io/docker