Comments (7)
Definitely +1. We've talked internally about changing the entire scaffolding process.
Not only is it too long but running 90 tests in GUI mode is not the intended use case and has many problems on its own.
Splitting it up more accurately reflects how you should be using GUI mode, will be less intimidating, and help organize the various commands into their separate concerns.
from cypress-example-kitchensink.
Agreed it is too long - but this is the file that is "seeded" when new projects are created.
We could either combine them back into one file just for the seeding, or seed multiple files (which may be annoying).
I think another option is during the seeding phase to give users a button that's like "I know what I'm doing, please remove these files..."
from cypress-example-kitchensink.
how about using an examples/ directory to hold them all?
from cypress-example-kitchensink.
Yeah, I am all for splitting this long spec file into many files showing different types of tests. And our scaffolding could generate multiple files as well
from cypress-example-kitchensink.
Adding better cypress init
command here cypress-io/cypress#619
from cypress-example-kitchensink.
The GUI also needs to be updated to prompt the user, but allow them to decline scaffolding the example files.
Only power users using Cypress on a bunch of projects will use the cypress init
command line. Whereas the vast majority of our users will go through the GUI.
from cypress-example-kitchensink.
Related to: cypress-io/cypress#681
from cypress-example-kitchensink.
Related Issues (20)
- Parallel workflow fails HOT 2
- Several advanced examples fail cypress/unsafe-to-chain-command lint rule HOT 11
- Azure Pipelines example uses non-recommended code HOT 2
- GitHub Topics update HOT 4
- Outdated Heroku CI example HOT 4
- package.json `engines` lists Node.js 14 in end-of-life status HOT 5
- Installation deprecations caused by netlify-plugin-cypress HOT 2
- CircleCI checksum failure installing GoogleChrome in Windows with Chocolatey HOT 3
- CircleCI runs Windows tests under unsupported Node.js 14 - renovate fails HOT 5
- CircleCI wrong Node.js used for `linux-build` (v16.16.0) and `mac-build` (v18.16.0) HOT 1
- element selector: ":last" vs ":last-child" HOT 4
- IDE Shows false errors regards codebase under Ventura MacOS HOT 3
- Missing API commands HOT 3
- CircleCI fails to install the ChromeDriver HOT 1
- Update HTML examples to conform to scaffolded tests HOT 10
- `cy.end()` test is inactive HOT 1
- GHA recording workflows fail in fork on push event
- GHA admin workflows fail in fork on pull_request event
- cy.end() test from earlier versions fails against example.cypress.io/commands/misc HOT 2
- CircleCI: macOS Intel support deprecation brownout failure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-example-kitchensink.