Skip to content

Conversation

@MikeMcC399
Copy link
Contributor

Issue

If Cypress tests fail, then by default screenshots will be saved.

Cypress documentation for Asset Files suggests adding such directories to the .gitignore file to ignore checking these files into source control.

Change

Add the following directories to .gitignore

  • **/cypress/downloads/
  • **/cypress/screenshots/
  • **/cypress/videos/

References

@AtofStryker AtofStryker merged commit 166cb60 into cypress-io:main Apr 24, 2025
10 checks passed
@MikeMcC399 MikeMcC399 deleted the gitignore-cypress-artifacts branch April 24, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants