Protractor 如何在量角器顶部设置Cumber以进行端到端测试?
需要在量角器上设置cucumber框架来进行端到端测试。请提供成功运行安装程序的步骤设置量角器框架的步骤:Protractor 如何在量角器顶部设置Cumber以进行端到端测试?,protractor,cucumber,Protractor,Cucumber,需要在量角器上设置cucumber框架来进行端到端测试。请提供成功运行安装程序的步骤设置量角器框架的步骤: 安装npm安装--保存开发人员量角器框架 要实现此框架,请使用量角器自定义框架 配置选项: exports.config = { // set to "custom" instead of cucumber. framework: 'custom', // path relative to the current config file frameworkPath:
exports.config = {
// set to "custom" instead of cucumber.
framework: 'custom',
// path relative to the current config file
frameworkPath: require.resolve('protractor-cucumber-framework')
};