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

Having a dedicated command to show up local environment information 'cypress info' #4540

jamesgeorge007 opened this issue Jun 22, 2019 · 4 comments


Copy link

@jamesgeorge007 jamesgeorge007 commented Jun 22, 2019

Feature Request

Most CLI tools these days are shipped with a dedicated info command which shows up local environment information. Also, the present issue template includes a section which expects to have information regarding the local environment.

With this all the user has to do is just copy and paste the information as shown by cypress info within the respective section.

Copy link

@jennifer-shehane jennifer-shehane commented Jun 24, 2019

The code for this can be found here (for example this is the cypress help command) for anyone that would like to contribute this cypress info command.

I imagine it would print:

  • Cypress version
  • OS platform info

Maybe some environment variables from the OS we care about? like...


@jennifer-shehane jennifer-shehane changed the title Having a dedicated command to show up local environment information Having a dedicated command to show up local environment information 'cypress info' Jul 12, 2019
Copy link

@jennifer-shehane jennifer-shehane commented Jul 12, 2019

From this previous issue, there was a recommendation on the structure of printing browser information we've found that I liked. Pasting here from @bahmutov previous comment.

It cold also perhaps link to our debugging guide on how to get browsers to be detected that are not currently.

Detected 3 browsers

Browser info
name      displayName  majorVersion  version     
--------  -----------  ------------  ------------
chrome    Chrome       62            62.0.3202.94
chromium  Chromium     60            60.0.3110.0 
canary    Canary       65            65.0.3287.0 

Browser paths
name      path                                                                      
--------  --------------------------------------------------------------------------
chrome    /Applications/Google Chrome              
chromium  /Applications/                        
canary    /Applications/Google Chrome Chrome Canary

Copy link

@cypress-bot cypress-bot bot commented Feb 20, 2020

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

Copy link

@cypress-bot cypress-bot bot commented Feb 28, 2020

Released in 4.1.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants