Skip to content

--spec option should be normalized against cwd and not projectRoot #1159

@brian-mann

Description

@brian-mann

When invoking cypress from a PWD other than the current projectRoot and using a relative path - it will fail to find the spec file because we resolve the path using projectRoot instead of process.cwd

This behavior needs to move into the cli so it normalizes specs to absolute paths prior to handing them off.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions