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

Headed/headless nomenclature #1140

Closed
RandallKent opened this Issue Jan 2, 2018 · 2 comments

Comments

3 participants
@RandallKent
Member

RandallKent commented Jan 2, 2018

TBD

@cypress-io cypress-io deleted a comment from jennifer-shehane Jan 5, 2018

@brian-mann

This comment has been minimized.

Member

brian-mann commented Jan 5, 2018

In Cypress there are only two modes of operation:

  • Interactive Mode (cypress open) - where you write your tests and run a single or handful of tests. You can use snapshots and the process never exits. This is what you'll do during day to day development.
  • Run Mode (cypress run) - where you run your tests to completion and receive an exit code with the number of failures. In this mode - the browser may be spawned headlessly or headed. This mode is used when you want to run all of your tests - typically in CI.

The terms headless and headed are specific to the way a browser is spawned - and don't have much meaningful value to Cypress. Cypress doesn't care which way it's spawned - the same things will happen headlessly or headed.

The only difference today is that we only record videos when running Electron in headless mode. Recording videos of headed browsers is of course possible - and we already bundle ffmpeg to do this - but we haven't yet implemented that behavior.

@brian-mann

This comment has been minimized.

Member

brian-mann commented May 30, 2018

Released in 3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment