Skip to content

Regex used for determining feature breaks when cucumber step files are under a steps directory #195

@nrosevear

Description

@nrosevear

Using the devtools service 10.3.0 with wdio 9.24.0 and cucumber when we have a structure of src/features, src/steps, and src/pages results int he debugger loading but actions and source tabs being blank (console and network tabs do load however). Also it is incredibly slow running tests with the debugger.

After digging the root issue seems to be this regex

/\/(test|spec|features|pageobjects|@wdio\/expect-webdriverio)\//i

The regex does not include steps. To prove the issue renaming our steps directory to spec fixed the issue and the tests run fast and the actions and source and log tabs now all load and populate data.

What see when steps are under the steps directory
**

Image

I have not tested it but I suspect creating a new repo with boilerplate cucumber could probably reproduce the issue.

If the regex could be updated or made configurable that would solve the issue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions