开发者

Cypress BDD Cucumber Framework- Step Definition misconfigured issue

开发者 https://www.devze.com 2022-12-07 20:20 出处:网络
While running the test the following issue arises, We tried searching for files containing step definitions using the following search pattern templates:

While running the test the following issue arises,

We tried searching for files containing step definitions using the following search pattern templates:

  • cypress\e2e\features/[filepath]/*/.{js,mjs,ts,tsx}
  • cypress\e2e\features/[filepath].{js,mjs,ts,tsx}
  • cypress/support/step_definitions/*/.{js,mjs,ts,tsx}

These templates resolved to the following search patterns:

  • cypress\e2e\features\login*.{js,mjs,ts,tsx}
  • cypress\e2e\features\login.{js,mjs,ts,tsx}
  • cypress\support\step_definitions*.{js,mjs,ts,tsx}

These patterns matched no files containing step definitions. This almost certainly means that you have misconfigured stepDefinitions.

Try开发者_运维知识库ing to run the test with BDD-cucumber framework in Cypress

0

精彩评论

暂无评论...
验证码 换一张
取 消