-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
For E2E scaffolded blank specs, scaffold a spec that passes instead of fails. #21921
Comments
➤ Blue Frauenglass commented: I'm not completely sure I agree. Scaffolding a spec which shows "how cypress is usually used" seems more valuable to me than getting something immediately green. The existing default spec has always been nice when I set up new projects - it gives me an immediate next step, “get cy.visit working” (by some combination changing the URL, starting my server, or setting a baseUrl). |
➤ Brian Mann commented: We probably should be visiting the kitchensink like we do when we scaffold all the example specs for you. That or no cy commands at all… |
The code for this is done in cypress-io/cypress#22070, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Summary
When creating a new blank e2e test, should we maybe use a cy.log instead of a cy.visit? If they don't have a site setup prior to generating the test we just create a new failing test.
Screen.Recording.2022-05-19.at.2.04.54.PM.mov
https://cypressio.slack.com/archives/C02MYBT9Y5S/p1652987237554559
Acceptance Criteria
┆Issue is synchronized with this Jira Task by Unito
┆Attachments: Screen Recording 2022-05-19 at 2.04.54 PM.mov
┆author: Matt Henkes
┆epic: UI/UX Improvements
┆friendlyId: UNIFY-1796
┆priority: Medium
┆sprint: Fast Follows 1
┆taskType: Task
The text was updated successfully, but these errors were encountered: