Skip to content

Cypress hangs on empty tests files #1905

@paulfalgout

Description

@paulfalgout

Current behavior:

In v3 we have a few test files that don't yet contain tests. In v2 it wasn't a problem, and most of the time it's fine in v3. But occasionally Cypress will hang on these files. I've only seen this in CI so far.
screen shot 2018-06-08 at 3 01 58 pm

In the dashboard these runs still say "running" with an increasing duration, even though they're not.

Further these panels aren't super useful as due to our folder structure every panel is labeled "assets/tests/integrati..." I can resize my screen to see a little more, but never the file name.

Otherwise really loving the v3 direction!

Desired behavior:

Shouldn't hang and should produce better errors if they do.

Steps to reproduce:

Unsure other than empty test files and multiple runs

Versions

Cypress 3.0.1

Metadata

Metadata

Labels

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