Skip to content

pause() should not be ignored with cypress run --headed --no-exit #4044

@Tobbe

Description

@Tobbe

Current behavior:

cy.pause() is ignored when specs are run with cypress run

image

Notice that I have cy.pause() in the code to the left, but the test on the run hasn't paused

Desired behavior:

I'd want the test to actually pause. Or make it really clear in the documentation that pause() is only working when you use cypress open

This is what it looks like when I use cypress open. I want the same behavior when I run with cypress run

image

Steps to reproduce: (app code and test code)

Add cy.pause() to any test, run it with cypress run, observe that the test is not paused.

Versions

Win 10
Electron (included with cypress)
Cypress 3.2.0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions