Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Doesn't seek for JS files in deeper folder structures #68

Open
dizzyn opened this issue Jul 16, 2020 · 2 comments
Open

Doesn't seek for JS files in deeper folder structures #68

dizzyn opened this issue Jul 16, 2020 · 2 comments

Comments

@dizzyn
Copy link

dizzyn commented Jul 16, 2020

Hi. Please,

Using: gherkin-testcafe firefox tests/**/*.js tests/**/*.feature

seems that if gherkins are deeper in the structure:
/x/y/z/foo.feature

Can not load the steps in the same (deeper) folder:

Doesn't work:
/x/y/z/foo.js

Works:
/x/foo.js

That means that i can not hold the step definitions next to the feature files.

Thank You

@eisenreich
Copy link

I have also a weird behavior regarding the glob pattern. In my case he does not include the steps on the first level.

@eisenreich
Copy link

I found the issue 3 minutes later.

You need to watch out, that the * is not interpolated. In my case it is fixed when I use

gherkin-testcafe firefox "tests/**/*.js" "tests/**/*.feature"

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

No branches or pull requests

2 participants