Skip to content
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

Force scaffolding in headless mode #7554

Closed
bahmutov opened this issue Jun 1, 2020 · 2 comments · Fixed by #7558
Closed

Force scaffolding in headless mode #7554

bahmutov opened this issue Jun 1, 2020 · 2 comments · Fixed by #7558
Assignees
Labels
process: tests Related to our internal tests

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Jun 1, 2020

We often need to test Cypress, and I have been using @bahmutov/cly init to scaffold a quick example using https://github.com/bahmutov/cly

But we also need to test Cypress more against Kitchensink examples to make sure we can update the Kitchensink pages safely. For this we need to scaffold full integration examples. Right now this only happens in the interactive mode, but we need to do this in headless mode as well.

Looking at the code in packages/server/src/project.js it seems we could use an environment variable to force scaffolding all folders (right now there is logic to always scaffold some folders, but integration specs are skipped in headless mode)

Will allow cypress-io/cypress-example-kitchensink#420 to work

@bahmutov bahmutov added the process: tests Related to our internal tests label Jun 1, 2020
@bahmutov bahmutov self-assigned this Jun 1, 2020
@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: work in progress stage: needs review The PR code is done & tested, needs review labels Jun 1, 2020
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Jun 3, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 3, 2020

The code for this is done in cypress-io/cypress#7558, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 8, 2020

Released in 4.8.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v4.8.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jun 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
process: tests Related to our internal tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant