Skip to content

Step_definitions child folders not found #1

Description

@ryust-ax

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions