protractor config file is not picking up the cucumber step definitions

后端 未结 2 588
轻奢々
轻奢々 2021-01-07 12:32

i am new to protractor and cucumber framework. i followed the steps from protractor site and here https://semaphoreci.com/community/tutorials/getting-started-with-protractor

2条回答
  •  迷失自我
    2021-01-07 12:47

    In your config file:

    require: ['./features/step_definitions/*.steps.js'],
    

    But your file is: testone_steps.js, it should be: testone.steps.js

    D'you see the difference? Just change _ to ., because in your config file you are using .

提交回复
热议问题