Open elasim opened 6 years ago
@elasim feel free to propose a PR
@elasim What do you exactly mean with
Currently, this framework is supported feature files only. it also should have to watch change of step definition files.
@wswebcreation e.g.,
when we have some test files like below
sync-async-step-definition.js
sync-async.feature
change of .feature files will trigger test, but .step-definition.js will not trigger any test.
hmm, ok,
According to the docs the watch mode in webdriver.io only watches spec files, which are the feature files in case of using CucumberJS. If you also want to watch on the step files config.cucumberOpts.require
needs to be watched to. As far as my knowledge of webdriver.io and wdio-cucumber-framework now reaches it needs to be a change and thus a PR on both modules.
Currently, this framework is supported feature files only. it also should have to watch change of step definition files.