Skip to content

videos for specs without failing or retried tests not being fully deleted #32883

@kalsowerus

Description

@kalsowerus

Current behavior

When configuring Cypress to only keep videos for failing tests (as per https://docs.cypress.io/app/guides/screenshots-and-videos) the *-compressed.mp4 files still remain. This did not use to be the case in version 13.4.0.

Desired behavior

There should be a way to only keep videos for failing tests, compressed or not.

Test code to reproduce

Repo: https://github.com/kalsowerus/cypress-test-tiny
Just run npm run cypress:run to reproduce

Cypress Version

15.5.0

Debug Logs

The log output from `DEBUG=cypress:* npm run cypress:run` is a little over 400k characters long, please increase the character limit for this text field.

Other

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions