cucumber cypress 查询 > 配置 .feature 文件后,为什么没有出现 .js 文件

cucumber cypress query > After configer with .feature file, why .js file not apper

我已经根据黄瓜要求配置了我的 package.json & cypress.json & index.js 参考这个 link < https://github.com/TheBrainFamily/cypress-cucumber-preprocessor>

文件结构 C:\Users\Ankit\CypressAutomation\cypress\integration-advanced-examples\BDD\ecommerce\ecommercestepdef.js & 特征文件 C:\Users\Ankit\CypressAutomation\cypress\integration-advanced-examples\BDD\ecommerce.feature

我在这方面遇到错误:- node_modules/cypress-cucumber-preprocessor/lib/resolveStepDefinition.js:199:1

缺少执行步骤:我打开电子商务页面

folder structure & feature file data from fixture

stepdeintion1

stepdefination2

plugins>indexjs

packetjson

cypressjson

我猜在第 12 行的步骤定义 1 之前有一个空白 space,这可能导致预处理器无法识别特征中句子的实现