How to enable 'retryFailedStep' plugin while using docker-compose

Hi All :slight_smile:

I have enabled the plugin ‘retryFailedStep’ in my config file. Since this is not enabled by default, I get that we need to pass it as a parameter while running the tests eg:
npx codeceptjs run --plugins retryFailedStep

But I use docker-compose to run the tests on Jenkins and simply use the command

docker-compose up

to run it on Jenkins. Since the plugin is not enabled by default, how can I call it? What other configuration is needed? Can someone help me here?

If you set enabled: true in a plugin config, it will be enabled by default and you won’t need to pass extra parameters. To check it was actually running - execute a test in --verbose mode and if there are steps with Retrying... console message, then this plugin is working

1 Like