Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step_definitions child folders not found #1

Open
ryust-ax opened this issue Aug 6, 2020 · 0 comments
Open

Step_definitions child folders not found #1

ryust-ax opened this issue Aug 6, 2020 · 0 comments

Comments

@ryust-ax
Copy link

ryust-ax commented Aug 6, 2020

I have a step_definition folder structure like:

step_definitions
|--- login
|--- user
|----|---- create
|----|---- edit

I'm getting error:

Could not include object Step Definition from /repo/step_definitions/user from module '/repo/step_definitions/user'
Cannot find module '/repo/step_definitions/user'
Require stack:
- /repo/node_modules/codeceptjs/lib/container.js
- /repo/node_modules/codeceptjs/lib/codecept.js
- /repo/node_modules/codeceptjs/bin/codecept.js

Any chance the helper.getStepFiles() method could iterate across child folders?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant