Giter Club home page Giter Club logo

Comments (7)

brian-mann avatar brian-mann commented on July 30, 2024 1

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.

brian-mann avatar brian-mann commented on July 30, 2024

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.

bencao avatar bencao commented on July 30, 2024

how about using an examples/ directory to hold them all?

from cypress-example-kitchensink.

bahmutov avatar bahmutov commented on July 30, 2024

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.

bahmutov avatar bahmutov commented on July 30, 2024

Adding better cypress init command here cypress-io/cypress#619

from cypress-example-kitchensink.

brian-mann avatar brian-mann commented on July 30, 2024

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.

jennifer-shehane avatar jennifer-shehane commented on July 30, 2024

Related to: cypress-io/cypress#681

from cypress-example-kitchensink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.