As of 0.20.1 Cucumber is now fully supported in Protractor but I\'m battling to find any documentation on how to configure it properly. Any idea how you would setup world.js? >
Add it as a framework in the configuration file:
exports.config = {
// set to "custom" instead of cucumber.
framework: 'custom',
// path relative to the current config file
frameworkPath: 'protractor-cucumber-framework'
// relevant cucumber command line options
cucumberOpts: {
format: "summary"
}
};
More information here: Protractor Frameworks