New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress auto-generates files too aggressively #501
Labels
type: duplicate
This issue or pull request already exists
Comments
jennifer-shehane
added
the
type: enhancement
Requested enhancement of existing feature
label
May 17, 2017
Also applies to the |
Bump, this is really irritating behaviour. |
This will be covered as part of the |
This is still an issue if you use |
Yes, this is a duplicate of #619 |
jennifer-shehane
added
type: duplicate
This issue or pull request already exists
and removed
type: enhancement
Requested enhancement of existing feature
labels
Oct 19, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Are you requesting a feature or reporting a bug?
Feature (usability)
Current behavior:
Cypress generates a fixture example on every run if there is no
cypress/fixtures
directory. A project with existing Cypress tests but no fixtures (an emptycypress/fixtures
directory) will trigger this behavior for every next developer who clones it, as the empty directory isn't known togit
. Whoops, that's confusing to collaborators!Expected behavior:
I expect Cypress not to generate any files on my behalf for a project that has already had Cypress set up by my team. This might mean:
.keep
files in thecypress/fixtures
directoryHow to reproduce the current behavior:
Delete the
cypress/fixtures
folder and run the tests.Test code:
N/A
Additional Info (images, notes, stack traces, etc)
I assume this happens for other auto-generated files as well, I just happened to run into it with the fixtures directory.
The text was updated successfully, but these errors were encountered: