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

Browser not launched through Cypress problem #1239

Closed
ghost opened this Issue Jan 31, 2018 · 36 comments

Comments

@ghost
Copy link

ghost commented Jan 31, 2018

Current behavior:

When running any test using Chrome, the browser opens and shows the following message: This browser was not launched through Cypress. Tests cannot run., and a Run Chrome 64 button appears as well. Clicking the button launches the same browser again with the same message.

Desired behavior:

The test should be executed properly when running them on Chrome.

How to reproduce:

  1. Open cypress: cypress open
  2. Select a test in the user interface and run it (Chrome selected as the browser)
    Notice that the tests don't get executed

Test code:

Not relevant to the scenario. Same behaviour happen when running cypress examples.

Additional Info (images, stack traces, etc)

At the moment, in order to workaround this issue, I close the browser, run the test using Electron, the close it down and run again using Chrome. This way the test runs properly.

This happens when starting a new instance of cypress. After having it fixed through the workaround, the tests run properly regardless of if we close the browser or not.

I uninstalled Chrome and deleted all profile information, but the issue kept happening.

Note this issue is only happening on one machine. Any help to investigate would be appreciated.

  • Operating System: macOS High Sierra. Version 10.13.2 (17C88)
  • Cypress Version: 1.4.1
  • Browser Version: Google Chrome Version 64.0.3282.119 (Official Build) (64-bit)
@jennifer-shehane

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Jan 31, 2018

This is strange. This usually means that the Chrome browser could not connect to the Cypress Chrome extension that we run within the launched browser. I've only seen this happen after manually removing the extension from the profile.

If you can get this to happen again, try running this: DEBUG=cypress:* cypress open to get the logs of what it happening when you do open Chrome and paste the logs back in this issue.

@ghost

This comment has been minimized.

Copy link
Author

ghost commented Jan 31, 2018

Thank you for your prompt reply. Here are the logs.
cypress.log

@jennifer-shehane

This comment has been minimized.

Copy link
Member

jennifer-shehane commented Feb 1, 2018

So, the logs look pretty normal. 😞 Couple questions/comments.

  1. Do you see the Cypress extension little logo when you open the Chrome browser?

cy-extension

  1. If not, you could try:
  • opening up the cypress app
  • Goto File -> View App Data
  • Delete everything in here
  • Close cypress and open it up again
  • And it should recreate all the browser profiles + extension
@cameronc56

This comment has been minimized.

Copy link

cameronc56 commented Feb 2, 2018

I have been repro'ing this consistently. Almost every time cypress runs it has to open and close chrome a couple of times before it works. Sometimes it doesn't work though. I can confirm that the cypress extension is loading properly, I see the cypress extension logo and it responds when I click on it with "Cypress is automating the browser".

@ghost

This comment has been minimized.

Copy link
Author

ghost commented Feb 7, 2018

The Cypress extension little logo didn't appear on the Chrome browser. I executed the steps you mentioned to clear the App data, and now it's working fine.

Thank a bunch!

@zbigniewkalinowski

This comment has been minimized.

Copy link

zbigniewkalinowski commented Feb 7, 2018

This solution is working only if you want to run your test exactly from Cypress api.
What about running test from external script?

Example:

    const cypress = require('cypress')
  
    cypress.run({
      browser: 'chrome',  
      spec: 'C:/Users/Zbyszek/Automats/online/cypress/integration/1ARegisterDashboardCustomer.js'
    })
    .then((results) => {
      console.log(results)
    })
    .catch((err) => {
      console.error(err)
    })

And then i get:
obraz

@crates

This comment has been minimized.

Copy link

crates commented Mar 1, 2018

I can consistently reproduce this issue by placing spec files one directory deeper than the integration folder. If I copy the example_spec.js file into a folder called "examples", I'll get the same error zbigniewkalinowski showed above. We're using Cypress version 2.1.0 on OSX High Sierra.

@brian-mann

This comment has been minimized.

Copy link
Member

brian-mann commented Mar 7, 2018

If you don't see the Cypress extension when it spawns Chrome - then that's why you're seeing this message.

The only way that happens is if you remove the extension manually or muck around in the Cypress profile, or modify the launch args of Chrome (inside Cypress) to forcibly remove this.

@brian-mann

This comment has been minimized.

Copy link
Member

brian-mann commented Mar 7, 2018

For us to reproduce this we need step by step instructions along with DEBUG logs.

DEBUG=cypress:* cypress open

Like:

  1. Create a new project
  2. npm init -y
  3. npm install --save-dev cypress
  4. ...etc...

Additionally we need information about your environment. Are you running Cypress at work? At home? Do you have any system network settings that you've configured that aren't default? Are you running proxies at work?

@brian-mann

This comment has been minimized.

Copy link
Member

brian-mann commented Mar 7, 2018

@zbigniewkalinowski I can see clear as day that your Chrome browser isn't running the Cypress extension. That's why you're getting this error message.

@perceboisElisa

This comment has been minimized.

Copy link

perceboisElisa commented Mar 7, 2018

Hi,

@brian-mann : How can I give you logs on windows 10-64 bits?

By deleting all the files and folders in View App Data, I always got "Whoops, we can't run yours tests"

@brian-mann

This comment has been minimized.

Copy link
Member

brian-mann commented Mar 7, 2018

If you're deleting everything in App Data that's exactly why it's not working.

After you delete the App Data you need to close + reopen Cypress and it should recreate them. The extension is literally in App Data, so by deleting that you are nuking the extension, and thus you get the message.

For Windows 10, you can just copy all the logs, or if you're using powershell redirect stdout / stderr to a file so you don't have to copy and paste it all.

@perceboisElisa

This comment has been minimized.

Copy link

perceboisElisa commented Mar 7, 2018

Hi,

@brian-mann : Thanks for your explanations. I followed them. However, it doesn't work... I got the same result.

My steps were:

  • I closed and reopened Cypress by clicking on Cypress.exe
  • I selected manually my project folder and I launched my example.js

Which prerequisites are missing?

@jasonarcala

This comment has been minimized.

Copy link

jasonarcala commented Mar 7, 2018

I was experiencing the same behavior. Deleting the Cypress folder in the ~/Library/Application Support

directory solved my problem.

@perceboisElisa

This comment has been minimized.

Copy link

perceboisElisa commented Mar 8, 2018

I am sorry but I use windows 10 - 64 bits and I don't find this path even if I display hidden folders...

@perceboisElisa

This comment has been minimized.

Copy link

perceboisElisa commented Mar 8, 2018

Hi,

I would like to giveyou some additional information about my setup.
By run npm install cypress, I get the results:

cypress@2.1.0 postinstall C:\Mesapplications\Repository\node_modules\cypress
node index.js --exec install

Installing Cypress (version: 2.1.0)

 ×  Downloading Cypress
   → Cypress Version: 2.1.0
    Unzipping Cypress
    Finishing Installation
The Cypress App could not be downloaded.

Please check network connectivity and try again:
----------

URL: https://download.cypress.io/desktop/2.1.0?platform=win32&arch=x64
Error: tunneling socket could not be established, statusCode=407
----------

Platform: win32 (10.0.14393)
Cypress Version: 2.1.0
npm WARN enoent ENOENT: no such file or directory, open 'C:\Mesapplications\Repository\package.json'
npm WARN Repository No description
npm WARN Repository No repository field.
npm WARN Repository No README data
npm WARN Repository No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cypress@2.1.0 postinstall: `node index.js --exec install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cypress@2.1.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I use a proxy and the download of Cypress is always stopped. I founded another solution by downloading directly the .zip file (https://cdn.cypress.io/desktop/2.0.4/win64/cypress.zip) on another PC (not using this proxy). When I opened Cypress, I always got "Whoops, we can't run yours tests" and it is true that I can't display "google.com" in Cypress GUI...I think finally that my issue is linked to my proxy. What do you think about that?

Regards,
Elisa

@PMK

This comment has been minimized.

Copy link

PMK commented Apr 1, 2018

More info:

OS: Windows 7
Node: 8.11.1 LTS
Npm: 5.8.0
Cypress: 2.1.0
Google Chrome: 65.0.3325.181

I did a clean install of Cypress:

cd C:
mkdir Cypress
cd Cypress
npm init
npm install --save cypress

When I open Cypress, this is the log's output:

$ npx cypress open
npx: installed 1 in 1.93s
Path must be a string. Received undefined
C:\Cypress\node_modules\cypress\bin\cypress

GET /__/ 200 28.096 ms - -
GET /__cypress/runner/cypress_runner.css 200 52.464 ms - -
GET /__cypress/runner/cypress_runner.js 200 406.904 ms - -
GET /__cypress/static/favicon.ico 200 2.802 ms - -
HEAD / 500 4877.676 ms - -
HEAD / 500 4879.990 ms - -
HEAD / 500 4896.174 ms - -
GET /chrome-variations/seed?osname=win&channel=stable&milestone=65 304 91.126 ms - -
GET /__/ 304 11.965 ms - -
GET /__cypress/runner/cypress_runner.css 304 1.518 ms - -
GET /__cypress/runner/cypress_runner.js 304 0.974 ms - -
GET / 404 39.957 ms - -
GET /favicon.ico 404 12.819 ms - -
GET /__/ 304 11.271 ms - -
GET /__cypress/runner/cypress_runner.css 304 2.712 ms - -
GET /__cypress/runner/cypress_runner.js 304 8.087 ms - -
GET / 404 38.963 ms - -
GET /__/ 304 17.336 ms - -
GET /__cypress/runner/cypress_runner.js 304 3.309 ms - -
GET /__cypress/runner/cypress_runner.css 304 2.880 ms - -
GET /__cypress/static/favicon.ico 200 3.727 ms - -
GET /__/ 304 7.243 ms - -
GET /__cypress/runner/cypress_runner.css 304 1.879 ms - -
GET /__cypress/runner/cypress_runner.js 304 1.978 ms - -
GET /__cypress/static/favicon.ico 200 9.151 ms - -
GET /__/ 304 15.746 ms - -
GET /__cypress/runner/cypress_runner.css 304 0.872 ms - -
GET /__cypress/runner/cypress_runner.js 304 1.028 ms - -
GET /__/ 200 5.561 ms - -
GET /__cypress/runner/cypress_runner.css 200 50.264 ms - -
GET /__cypress/runner/cypress_runner.js 200 479.947 ms - -
HEAD / 500 4876.808 ms - -
HEAD / 500 4872.607 ms - -
HEAD / 500 4909.137 ms - -
GET /chrome-variations/seed?osname=win&channel=stable&milestone=65 304 966.068 ms - -

Notice the 500 errors. The Cypress app opens fine and when I click on the example test (example_spec.js), it opens the Google Chrome 65 browser, but nothing is showing (I see a white screen). The Cypress extension icon is not visible. If I enable the extension (it was disabled), and run the test again, I get again a white screen and now with the extension icon visible.

If I run the command using ./node_modules/.bin/cypress instead of npx, I get exactly the same error.
If I run Cypress via "git bash", or via Windows's CLI, I get the error. I didn't test this with Powershell.
If I choose Electron option instead of Chrome, I get the same error.

I tested this also without VPN, without the Windows defender and Windows firewall enabled, without an active virusscanner (read: I disabled everything). Still I get this error.

Some debug logs:

$ DEBUG=cypress:* npx cypress open
npx: installed 1 in 1.977s
Path must be a string. Received undefined
C:\Cypress\node_modules\cypress\bin\cypress
2018-03-30T09:25:11.250Z cypress:cli cli starts with arguments ["C:\\Program Files\\nodejs\\node.exe","C:\\Cypress\\\node_modules\\cypress\\bin\\cypress","open"]
2018-03-30T09:25:11.250Z cypress:cli program parsing arguments
2018-03-30T09:25:11.250Z cypress:cli opening Cypress
2018-03-30T09:25:11.440Z cypress:cli parsed cli options {}
2018-03-30T09:25:11.440Z cypress:cli opening from options {"project":"C:\\Cypress"}
2018-03-30T09:25:11.440Z cypress:cli command line arguments ["--project","C:\\Cypress"]
2018-03-30T09:25:11.440Z cypress:cli verifying Cypress app
2018-03-30T09:25:11.440Z cypress:cli path to info.json file C:\Cypress\node_modules\cypress\dist\info.json
2018-03-30T09:25:11.460Z cypress:cli { version: '2.1.0', verifiedVersion: '2.1.0' }
2018-03-30T09:25:11.460Z cypress:cli installed version is 2.1.0 comparing to 2.1.0
2018-03-30T09:25:11.460Z cypress:cli checking if executable exists C:\Cypress\node_modules\cypress\dist\Cypress\Cypress.exe
2018-03-30T09:25:11.460Z cypress:cli path to info.json file C:\Cypress\node_modules\cypress\dist\info.json
2018-03-30T09:25:11.460Z cypress:cli has verified version 2.1.0
2018-03-30T09:25:11.460Z cypress:cli run verification check? false
2018-03-30T09:25:11.460Z cypress:cli needs XVFB? false
2018-03-30T09:25:11.460Z cypress:cli spawning Cypress C:\Cypress\node_modules\cypress\dist\Cypress\Cypress.exe
2018-03-30T09:25:11.460Z cypress:cli spawn args ["--project","C:\\Cypress","--cwd","C:\\Cypress"] { dev: undefined, detached: false, stdio: 'inherit' }

Fri, 30 Mar 2018 09:25:11 GMT cypress:ts Running without ts-node hook in environment "production"
Fri, 30 Mar 2018 09:25:11 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production
Fri, 30 Mar 2018 09:25:11 GMT cypress:server starting cypress server
Fri, 30 Mar 2018 09:25:12 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production
Fri, 30 Mar 2018 09:25:12 GMT cypress:server start in mode headed with options {"_":["C:\\Cypress\\\node_modules\\cypress\\dist\\Cypress\\Cypress.exe"],"project":"C:\\Cypress","cwd":"C:\\Cypress","projectPath":"C:\\Cypress"}
Fri, 30 Mar 2018 09:25:13 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\browsers
Fri, 30 Mar 2018 09:25:13 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\cache
Fri, 30 Mar 2018 09:25:15 GMT cypress:server:timers queuing timer id 1 after 500 ms
Fri, 30 Mar 2018 09:25:15 GMT cypress:server:timers child received timer id 1
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:timers child sending timer id 1
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:timers clearing timer id 1 from queue { '1': { args: [], ms: 500, cb: [Function] } }
Fri, 30 Mar 2018 09:25:16 GMT cypress:server making saved state from C:\Cypress\node_modules\cypress\dist\Cypress\resources\app\packages\server
Fri, 30 Mar 2018 09:25:16 GMT cypress:server for project path C:\Cypress
Fri, 30 Mar 2018 09:25:16 GMT cypress:server state path for project C:\Cypress
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:16 GMT cypress:server full state path C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:16 GMT cypress:server making new state file around C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:file reading JSON file C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:windows creating electron window with options { backgroundColor: '#dfe2e4', width: 800, height: 550, minWidth: 458, minHeight: 400, x: null, y: null, type: 'INDEX', devTools: false, trackState: { width: 'appWidth', height: 'appHeight', x: 'appX', y: 'appY', devTools: 'isAppDevToolsOpen' }, onBlur: [Function: onBlur], onFocus: [Function: onFocus], onClose: [Function: onClose], show: true, url: 'file://C:\\Cypress\\\node_modules\\cypress\\dist\\Cypress\\resources\\app\\packages\\desktop-gui\\dist\\index.html', webPreferences: { preload: 'C:\\Cypress\\\node_modules\\cypress\\dist\\Cypress\\resources\\app\\packages\\server\\lib\\ipc\\ipc.js', chromeWebSecurity: true, nodeIntegration: false, backgroundThrottling: false, backgroundColor: '#dfe2e4' }, frame: true, contextMenu: false, recordFrameRate: null, onPaint: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] }
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:events got request for event: on:menu:clicked undefined
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:events got request for event: get:options undefined
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:events sending ipc data { type: 'get:options',
  data:
   { id: 0.1946838022880928,
     data:
      { _: [Array],
        project: 'C:\\Cypress',
        cwd: 'C:\\Cypress',
        projectPath: 'C:\\Cypress',
        onFocusTests: [Function: onFocusTests],
        os: 'win32',
        version: '2.1.0' } } }
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:events got request for event: get:current:user undefined
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:file reading JSON file C:\Users\user\AppData\Roaming\Cypress\cy\production\cache
Fri, 30 Mar 2018 09:25:16 GMT cypress:server:events sending ipc data { type: 'get:current:user',
  data: { id: 0.12487514771464259, data: {} } }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: on:focus:tests undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: on:spec:changed undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: on:config:changed undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: on:project:error undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: on:project:warning undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: open:project C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project Project created C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events got request for event: updater:check undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:updater checking for new version of Cypress. current version is 2.1.0
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher checking one browser chrome
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher looking up chrome on win32 platform
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher exe path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher found C:\Program Files (x86)\Google\Chrome\Application\chrome.exe ? true
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher Version=65.0.3325.181
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher browser chrome at 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' version 65.0.3325.181
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher setting major version for {"name":"chrome","displayName":"Chrome","version":"65.0.3325.181","path":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"}
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher browser chrome version 65.0.3325.181 major version 65
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher checking one browser chromium
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher looking up chromium on win32 platform
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher exe path C:\Program Files (x86)\Google\chrome-win32\chrome.exe
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher found C:\Program Files (x86)\Google\chrome-win32\chrome.exe ? false
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher browser chromium not installed
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher checking one browser canary
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher looking up canary on win32 platform
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher exe path C:\Users\user\AppData\Local\Google\Chrome SxS\Application\chrome.exe
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher found C:\Users\user\AppData\Local\Google\Chrome SxS\Application\chrome.exe ? false
Fri, 30 Mar 2018 09:25:17 GMT cypress:launcher browser canary not installed
Fri, 30 Mar 2018 09:25:17 GMT cypress:server opening project C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project opening project instance C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:config setting support file C:\Cypress\cypress\support
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:config for project root C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:config set support folder C:\Cypress\cypress\support
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:config setting plugins file C:\Cypress\cypress\plugins
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:config for project root C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:config set pluginsFile to C:\Cypress\cypress\plugins\index.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold scaffolded files ["cypress\\integration\\example_spec.js","cypress\\fixtures\\example.json","cypress\\support\\commands.js","cypress\\support\\index.js","cypress\\plugins\\index.js"]
Fri, 30 Mar 2018 09:25:17 GMT cypress:server making saved state from C:\Cypress\node_modules\cypress\dist\Cypress\resources\app\packages\server
Fri, 30 Mar 2018 09:25:17 GMT cypress:server for project path C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server state path for project C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:17 GMT cypress:server full state path C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:file reading JSON file C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold found 1 files in folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold Checking spec filename if default C:\Cypress\cypress\integration\example_spec.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold Checking spec file size C:\Cypress\cypress\integration\example_spec.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold untouched scaffold true modal closed false
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold plugins folder C:\Cypress\cypress\plugins
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold verify scaffolding in C:\Cypress\cypress\plugins
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold folder C:\Cypress\cypress\plugins already exists
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:plugins plugins.init C:\Cypress\cypress\plugins\index.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:updater latest version of Cypress is: 2.1.0
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:updater new version of Cypress does not exist
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events sending ipc data { type: 'updater:check',
  data: { id: 0.8794773508891081, data: false } }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:plugins:child pluginsFile: C:\Cypress\cypress\plugins\index.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:plugins:child require pluginsFile
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:plugins:child run plugins function
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project plugin config yielded: null
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Server listening on port 51661
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\proxy
Fri, 30 Mar 2018 09:25:17 GMT cypress:https-proxy Created SNI HTTPS Proxy on port 51663
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Setting remoteAuth undefined
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Setting remoteOrigin http://localhost:51661
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Setting remoteStrategy file
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Setting remoteHostAndPort null
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Setting remoteDocDomain localhost
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Setting remoteFileServer http://localhost:51662
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project project config: { projectRoot: 'C:\\Cypress', projectName: 'patrick', report: false, browsers: [ { name: 'chrome', displayName: 'Chrome', version: '65.0.3325.181', path: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', majorVersion: '65' }, { name: 'electron', displayName: 'Electron', version: '59.0.3071.115', path: '', majorVersion: '59', info: 'Electron is the default browser that comes with Cypress. This is the browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' } ], port: 51661, hosts: null, morgan: true, baseUrl: null, socketId: null, userAgent: null, isTextTerminal: false, reporter: 'spec', reporterOptions: null, blacklistHosts: null, clientRoute: '/__/', xhrRoute: '/xhrs/', socketIoRoute: '/__socket.io', socketIoCookie: '__socket.io', reporterRoute: '/__cypress/reporter', ignoreTestFiles: '*.hot-update.js', testFiles: '**/*.*', defaultCommandTimeout: 4000, requestTimeout: 5000, responseTimeout: 30000, pageLoadTimeout: 60000, execTimeout: 60000, videoRecording: true, videoCompression: 32, videoUploadOnPasses: true, modifyObstructiveCode: true, chromeWebSecurity: true, waitForAnimations: true, animationDistanceThreshold: 5, numTestsKeptInMemory: 50, watchForFileChanges: true, screenshotOnHeadlessFailure: true, trashAssetsBeforeHeadlessRuns: true, autoOpen: false, viewportWidth: 1000, viewportHeight: 660, fileServerFolder: 'C:\\Cypress', videosFolder: 'C:\\Cypress\\\cypress\\videos', supportFile: 'C:\\Cypress\\\cypress\\support\\index.js', fixturesFolder: 'C:\\Cypress\\\cypress\\fixtures', integrationFolder: 'C:\\Cypress\\\cypress\\integration', screenshotsFolder: 'C:\\Cypress\\\cypress\\screenshots', namespace: '__cypress', pluginsFile: 'C:\\Cypress\\\cypress\\plugins\\index.js', javascripts: [], env: {}, cypressEnv: 'production', parentTestsFolder: 'C:\\Cypress\\\cypress', parentTestsFolderDisplay: '\cypress', supportFolder: 'C:\\Cypress\\\cypress\\support', integrationExampleFile: 'C:\\Cypress\\\cypress\\integration\\example_spec.js', integrationExampleName: 'example_spec.js', scaffoldedFiles: [ { name: 'cypress\\integration\\example_spec.js' }, { name: 'cypress\\fixtures\\example.json' }, { name: 'cypress\\support\\commands.js' }, { name: 'cypress\\support\\index.js' }, { name: 'cypress\\plugins\\index.js' } ], state: {}, isNewProject: true, proxyUrl: 'http://localhost:51661', browserUrl: 'http://localhost:51661/__/', reporterUrl: 'http://localhost:51661/__cypress/reporter', xhrUrl: '__cypress/xhrs/' }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project scaffolding project C:\Cypress
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold support folder C:\Cypress\cypress\support, support file C:\Cypress\cypress\support\index.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold verify scaffolding in C:\Cypress\cypress\support
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold verify scaffolding in C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold fixture folder C:\Cypress\cypress\fixtures
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold verify scaffolding in C:\Cypress\cypress\fixtures
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers queuing timer id 2 after 0 ms
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers child received timer id 2
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold folder C:\Cypress\cypress\support already exists
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold folder C:\Cypress\cypress\integration already exists
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:scaffold folder C:\Cypress\cypress\fixtures already exists
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project attempt watch plugins file: C:\Cypress\cypress\plugins\index.js
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project plugins file found? true
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:project watch plugins file
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers child sending timer id 2
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers queuing timer id 3 after 0 ms
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers child received timer id 3
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers clearing timer id 2 from queue { '2': { args: [], ms: 0, cb: [Function: clear] }, '3': { args: [], ms: 0, cb: [Function: clear] } }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers clearing timer id 2 from queue { '3': { args: [], ms: 0, cb: [Function: clear] } }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:events sending ipc data { type: 'open:project',
  data:
   { id: 0.16089880234587794,
     data:
      { projectRoot: 'C:\\Cypress',
        projectName: 'patrick',
        report: false,
        browsers: [Array],
        port: 51661,
        hosts: null,
        morgan: true,
        baseUrl: null,
        socketId: null,
        userAgent: null,
        isTextTerminal: false,
        reporter: 'spec',
        reporterOptions: null,
        blacklistHosts: null,
        clientRoute: '/__/',
        xhrRoute: '/xhrs/',
        socketIoRoute: '/__socket.io',
        socketIoCookie: '__socket.io',
        reporterRoute: '/__cypress/reporter',
        ignoreTestFiles: '*.hot-update.js',
        testFiles: '**/*.*',
        defaultCommandTimeout: 4000,
        requestTimeout: 5000,
        responseTimeout: 30000,
        pageLoadTimeout: 60000,
        execTimeout: 60000,
        videoRecording: true,
        videoCompression: 32,
        videoUploadOnPasses: true,
        modifyObstructiveCode: true,
        chromeWebSecurity: true,
        waitForAnimations: true,
        animationDistanceThreshold: 5,
        numTestsKeptInMemory: 50,
        watchForFileChanges: true,
        screenshotOnHeadlessFailure: true,
        trashAssetsBeforeHeadlessRuns: true,
        autoOpen: false,
        viewportWidth: 1000,
        viewportHeight: 660,
        fileServerFolder: 'C:\\Cypress',
        videosFolder: 'C:\\Cypress\\\cypress\\videos',
        supportFile: 'C:\\Cypress\\\cypress\\support\\index.js',
        fixturesFolder: 'C:\\Cypress\\\cypress\\fixtures',
        integrationFolder: 'C:\\Cypress\\\cypress\\integration',
        screenshotsFolder: 'C:\\Cypress\\\cypress\\screenshots',
        namespace: '__cypress',
        pluginsFile: 'C:\\Cypress\\\cypress\\plugins\\index.js',
        javascripts: [],
        env: {},
        cypressEnv: 'production',
        resolved: [Object],
        parentTestsFolder: 'C:\\Cypress\\\cypress',
        parentTestsFolderDisplay: '\cypress',
        supportFolder: 'C:\\Cypress\\\cypress\\support',
        integrationExampleFile: 'C:\\Cypress\\\cypress\\integration\\example_spec.js',
        integrationExampleName: 'example_spec.js',
        scaffoldedFiles: [Array],
        state: {},
        isNewProject: true,
        proxyUrl: 'http://localhost:51661',
        browserUrl: 'http://localhost:51661/__/',
        reporterUrl: 'http://localhost:51661/__cypress/reporter',
        xhrUrl: '__cypress/xhrs/' } } }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers child sending timer id 3
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers clearing timer id 3 from queue { '3': { args: [], ms: 0, cb: [Function: clear] } }
Fri, 30 Mar 2018 09:25:17 GMT cypress:server:timers clearing timer id 3 from queue {}
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:events got request for event: get:specs undefined
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:events got request for event: get:project:status { path: 'C:\\Cypress' }
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:project get project status for undefined C:\Cypress
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:project no project id
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:events sending ipc data { type: 'get:project:status',
  data:
   { id: 0.6203517997349044,
     data: { path: 'C:\\Cypress', state: 'VALID' } } }
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:18 GMT cypress:server:events sending ipc data { type: 'get:specs',
  data: { id: 0.9269761467857265, data: { integration: [Array] } } }
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:events got request for event: onboarding:closed undefined
Fri, 30 Mar 2018 09:25:20 GMT cypress:server making saved state from C:\Cypress\node_modules\cypress\dist\Cypress\resources\app\packages\server
Fri, 30 Mar 2018 09:25:20 GMT cypress:server for project path C:\Cypress
Fri, 30 Mar 2018 09:25:20 GMT cypress:server state path for project C:\Cypress
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:20 GMT cypress:server full state path C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:file reading JSON file C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:file writing JSON file C:\Users\user\AppData\Roaming\Cypress\cy\production\projects-4c6a7d24b12871580ef3af30ab3d8cdf\state.json
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:events sending ipc data { type: 'onboarding:closed',
  data: { id: 0.5416223888459579, data: null } }
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:20 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:23 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:25 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:events got request for event: get:project:status { path: 'C:\\Cypress' }
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:project get project status for undefined C:\Cypress
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:project no project id
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:events sending ipc data { type: 'get:project:status',
  data:
   { id: 0.7566270636946917,
     data: { path: 'C:\\Cypress', state: 'VALID' } } }
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:28 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:30 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:events got request for event: close:browser undefined
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:events sending ipc data { type: 'close:browser',
  data: { id: 0.8927731284627529, data: undefined } }
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:events got request for event: launch:browser { browser: 'chrome',
  spec: 'cypress\\integration\\example_spec.js' }
Fri, 30 Mar 2018 09:25:31 GMT cypress:server launching browser chrome spec cypress\integration\example_spec.js
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:project resetting project instance C:\Cypress
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Setting remoteAuth undefined
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Setting remoteOrigin http://localhost:51661
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Setting remoteStrategy file
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Setting remoteHostAndPort null
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Setting remoteDocDomain localhost
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Setting remoteFileServer http://localhost:51662
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' }
Fri, 30 Mar 2018 09:25:31 GMT cypress:server launching project in browser chrome
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:browsers opening browser chrome
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\extensions\chrome
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:appdata path: C:\Users\user\AppData\Roaming\Cypress\cy\production\extensions\chrome\background.js
Fri, 30 Mar 2018 09:25:31 GMT cypress:server:browsers launch in chrome: http://localhost:51661/__/#/tests/integration\example_spec.js, --test-type,--ignore-certificate-errors,--start-maximized,--silent-debugger-extension-api,--no-default-browser-check,--no-first-run,--noerrdialogs,--enable-fixed-layout,--disable-popup-blocking,--disable-password-generation,--disable-save-password-bubble,--disable-single-click-autofill,--disable-prompt-on-repos,--disable-background-timer-throttling,--disable-renderer-backgrounding,--disable-renderer-throttling,--disable-restore-session-state,--disable-translate,--disable-new-profile-management,--disable-new-avatar-menu,--allow-insecure-localhost,--reduce-security-for-testing,--enable-automation,--disable-infobars,--metrics-recording-only,--disable-prompt-on-repost,--disable-hang-monitor,--disable-sync,--disable-web-resources,--safebrowsing-disable-auto-update,--safebrowsing-disable-download-protection,--disable-client-side-phishing-detection,--disable-component-update,--disable-default-apps,--proxy-server=http://localhost:51661,--load-extension=C:\Users\user\AppData\Roaming\Cypress\cy\production\extensions\chrome,C:\Cypress\node_modules\cypress\dist\Cypress\resources\app\packages\extension\theme,--user-data-dir=C:\Users\user\AppData\Roaming\Cypress\cy\production\browsers\chrome,--disk-cache-dir=C:\Users\user\AppData\Roaming\Cypress\cy\production\browsers\chrome\CypressCache
Fri, 30 Mar 2018 09:25:31 GMT cypress:launcher checking one browser chrome
Fri, 30 Mar 2018 09:25:31 GMT cypress:launcher looking up chrome on win32 platform
Fri, 30 Mar 2018 09:25:31 GMT cypress:launcher exe path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Fri, 30 Mar 2018 09:25:31 GMT cypress:launcher found C:\Program Files (x86)\Google\Chrome\Application\chrome.exe ? true
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher Version=65.0.3325.181
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher browser chrome at 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' version 65.0.3325.181
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher setting major version for {"name":"chrome","displayName":"Chrome","version":"65.0.3325.181","path":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"}
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher browser chrome version 65.0.3325.181 major version 65
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher checking one browser chromium
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher looking up chromium on win32 platform
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher exe path C:\Program Files (x86)\Google\chrome-win32\chrome.exe
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher found C:\Program Files (x86)\Google\chrome-win32\chrome.exe ? false
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher browser chromium not installed
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher checking one browser canary
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher looking up canary on win32 platform
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher exe path C:\Users\user\AppData\Local\Google\Chrome SxS\Application\chrome.exe
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher found C:\Users\user\AppData\Local\Google\Chrome SxS\Application\chrome.exe ? false
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher browser canary not installed
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher launching browser chrome to open http://localhost:51661/__/#/tests/integration\example_spec.js
Fri, 30 Mar 2018 09:25:32 GMT cypress:launcher spawning browser C:\Program Files (x86)\Google\Chrome\Application\chrome.exe with args http://localhost:51661/__/#/tests/integration\example_spec.js --test-type --ignore-certificate-errors --start-maximized --silent-debugger-extension-api --no-default-browser-check --no-first-run --noerrdialogs --enable-fixed-layout --disable-popup-blocking --disable-password-generation --disable-save-password-bubble --disable-single-click-autofill --disable-prompt-on-repos --disable-background-timer-throttling --disable-renderer-backgrounding --disable-renderer-throttling --disable-restore-session-state --disable-translate --disable-new-profile-management --disable-new-avatar-menu --allow-insecure-localhost --reduce-security-for-testing --enable-automation --disable-infobars --metrics-recording-only --disable-prompt-on-repost --disable-hang-monitor --disable-sync --disable-web-resources --safebrowsing-disable-auto-update --safebrowsing-disable-download-protection --disable-client-side-phishing-detection --disable-component-update --disable-default-apps --proxy-server=http://localhost:51661 --load-extension=C:\Users\user\AppData\Roaming\Cypress\cy\production\extensions\chrome,C:\Cypress\node_modules\cypress\dist\Cypress\resources\app\packages\extension\theme --user-data-dir=C:\Users\user\AppData\Roaming\Cypress\cy\production\browsers\chrome --disk-cache-dir=C:\Users\user\AppData\Roaming\Cypress\cy\production\browsers\chrome\CypressCache
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:browsers browser opened
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:timers queuing timer id 5 after 1000 ms
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:timers child received timer id 5
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server Got CONNECT request from translate.googleapis.com:443
Fri, 30 Mar 2018 09:25:32 GMT cypress:https-proxy Writing socket connection headers for URL: translate.googleapis.com:443
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server Got CONNECT request from clientservices.googleapis.com:443
Fri, 30 Mar 2018 09:25:32 GMT cypress:https-proxy Writing socket connection headers for URL: clientservices.googleapis.com:443
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server Got CONNECT request from www.gstatic.com:443
Fri, 30 Mar 2018 09:25:32 GMT cypress:https-proxy Writing socket connection headers for URL: www.gstatic.com:443
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:routes Serving Cypress front-end by requested URL: /__/
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' }
Fri, 30 Mar 2018 09:25:32 GMT cypress:server config version 2.1.0 platform win32 arch x64
GET /__/ 200 31.980 ms - -
GET /__cypress/runner/cypress_runner.css 200 62.116 ms - -
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server Got CONNECT request from localhost:51661
Fri, 30 Mar 2018 09:25:32 GMT cypress:https-proxy Writing socket connection headers for URL: localhost:51661
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server HTTPS request does not match URL: https://localhost:51661 with props: null
Fri, 30 Mar 2018 09:25:32 GMT cypress:https-proxy Making direct connection to localhost:51661
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:server Got UPGRADE request from /__socket.io/?EIO=3&transport=websocket
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:timers queuing timer id 6 after 85000 ms
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:timers child received timer id 6
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:socket socket connected
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:timers clearing timer id 6 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '5': { args: [], ms: 1000, cb: [Function] }, '6': { args: [], ms: 85000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:32 GMT cypress:server:timers clearing timer id 6 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '5': { args: [], ms: 1000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '5': { args: [], ms: 1000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:timers child sending timer id 5
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:timers clearing timer id 5 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '5': { args: [], ms: 1000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:events sending ipc data { type: 'launch:browser',
  data: { id: 0.3375050184206112, data: { browserOpened: true } } }
GET /__cypress/runner/cypress_runner.js 200 463.906 ms - -
Fri, 30 Mar 2018 09:25:33 GMT cypress:server:server Got CONNECT request from localhost:51661
Fri, 30 Mar 2018 09:25:33 GMT cypress:https-proxy Writing socket connection headers for URL: localhost:51661
GET /__cypress/static/favicon.ico 200 5.283 ms - -
Fri, 30 Mar 2018 09:25:34 GMT cypress:server:server Got CONNECT request from localhost:51661
Fri, 30 Mar 2018 09:25:34 GMT cypress:https-proxy Writing socket connection headers for URL: localhost:51661
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:35 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:events got request for event: get:project:status { path: 'C:\\Cypress' }
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:project get project status for undefined C:\Cypress
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:project no project id
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:events sending ipc data { type: 'get:project:status',
  data:
   { id: 0.01955814153196367,
     data: { path: 'C:\\Cypress', state: 'VALID' } } }
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:38 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:39 GMT cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' }
Fri, 30 Mar 2018 09:25:39 GMT cypress:server:proxy handling proxied request { url: '/', proxiedUrl: 'http://agtrlossg/', cookies: {}, remoteState: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' } }
Fri, 30 Mar 2018 09:25:39 GMT cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' }
Fri, 30 Mar 2018 09:25:39 GMT cypress:server:proxy handling proxied request { url: '/', proxiedUrl: 'http://thdhpxworb/', cookies: {}, remoteState: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' } }
Fri, 30 Mar 2018 09:25:39 GMT cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' }
Fri, 30 Mar 2018 09:25:39 GMT cypress:server:proxy handling proxied request { url: '/', proxiedUrl: 'http://uunbigbpk/', cookies: {}, remoteState: { auth: undefined, props: null, origin: 'http://localhost:51661', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:51662' } }
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:40 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:41 GMT cypress:server:timers queuing timer id 7 after 30000 ms
Fri, 30 Mar 2018 09:25:41 GMT cypress:server:timers child received timer id 7
Fri, 30 Mar 2018 09:25:41 GMT cypress:server:timers queuing timer id 8 after 30000 ms
Fri, 30 Mar 2018 09:25:41 GMT cypress:server:timers child received timer id 8
Fri, 30 Mar 2018 09:25:41 GMT cypress:server:timers queuing timer id 9 after 30000 ms
Fri, 30 Mar 2018 09:25:41 GMT cypress:server:timers child received timer id 9
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '7': { args: [], ms: 30000, cb: [Function] }, '8': { args: [], ms: 30000, cb: [Function] }, '9': { args: [], ms: 30000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:43 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:timers clearing timer id 7 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '7': { args: [], ms: 30000, cb: [Function] }, '8': { args: [], ms: 30000, cb: [Function] }, '9': { args: [], ms: 30000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:proxy received response for { url: 'http://agtrlossg/', headers: { 'content-type': 'text/html' }, statusCode: 500 }
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:proxy request failed { url: 'http://agtrlossg/', status: 500, err: 'getaddrinfo ENOTFOUND agtrlossg agtrlossg:80' }
HEAD / 500 4906.023 ms - -
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:timers clearing timer id 8 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '8': { args: [], ms: 30000, cb: [Function] }, '9': { args: [], ms: 30000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:proxy received response for { url: 'http://thdhpxworb/', headers: { 'content-type': 'text/html' }, statusCode: 500 }
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:proxy request failed { url: 'http://thdhpxworb/', status: 500, err: 'getaddrinfo ENOTFOUND thdhpxworb thdhpxworb:80' }
HEAD / 500 4903.424 ms - -
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:timers clearing timer id 9 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] }, '9': { args: [], ms: 30000, cb: [Function] } }
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:proxy received response for { url: 'http://uunbigbpk/', headers: { 'content-type': 'text/html' }, statusCode: 500 }
Fri, 30 Mar 2018 09:25:44 GMT cypress:server:proxy request failed { url: 'http://uunbigbpk/', status: 500, err: 'getaddrinfo ENOTFOUND uunbigbpk uunbigbpk:80' }
HEAD / 500 4906.657 ms - -
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:45 GMT cypress:server:timers child received timer id 4
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:events got request for event: get:project:status { path: 'C:\\Cypress' }
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:project get project status for undefined C:\Cypress
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:project no project id
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:events sending ipc data { type: 'get:project:status',
  data:
   { id: 0.9714022602012251,
     data: { path: 'C:\\Cypress', state: 'VALID' } } }
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:timers child sending timer id 4
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:timers clearing timer id 4 from queue { '4': { args: [], ms: 2500, cb: [Function: cb] } }
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:timers queuing timer id 4 after 2500 ms
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:files looking for test files in the integration folder C:\Cypress\cypress\integration
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:files specPattern for test files is undefined
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:files found test file C:/Cypress/cypress/integration/example_spec.js
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:files found 1 spec files
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:files [ { name: 'example_spec.js',
    path: 'cypress\\integration\\example_spec.js',
    absolute: 'C:/Cypress/cypress/integration/example_spec.js' } ]
Fri, 30 Mar 2018 09:25:48 GMT cypress:server:timers child received timer id 4
^C
@ronteddu

This comment has been minimized.

Copy link

ronteddu commented Jun 1, 2018

Thanks @jennifer-shehane: Your solution worked for me. The reason I ended up with this issue was because of stopping a running test-->
opening up the cypress app
Goto File -> View App Data
Delete everything in here
Close cypress and open it up again
And it should recreate all the browser profiles + extension

@dishui

This comment has been minimized.

Copy link

dishui commented Jun 15, 2018

I have the same issue. I am using macOSX High Sierra version 10.13.5, chrome 67, Cypress 3.0.1. it very repeatable. After reading the comments above, I tried electron 59 and canary 69, both works. however, as soon as I change it to chrome 67, It would not work, meaning, it would display the error: "Whoops, we can't run your tests.

This browser was not launched through Cypress. Tests cannot run."
using the debug:

DEBUG=cypress:* cypress open

did not show anything that point to an issue.

@LarryMartell

This comment has been minimized.

Copy link

LarryMartell commented Aug 13, 2018

I have this same issue as @PMK. I am on a Mac, when I run a test I get:

GET /__/ 200 38.587 ms - -
GET /__cypress/runner/cypress_runner.css 200 39.265 ms - -
GET /__cypress/runner/cypress_runner.js 200 288.851 ms - -
GET /__cypress/static/favicon.ico 200 6.419 ms - -
HEAD / 500 54.251 ms - -
HEAD / 500 50.873 ms - -
HEAD / 500 74.182 ms - -

and a white screen and with the extension icon visible. I have tried deleting the app data dir as well as deleting ~/Library/Application\ Support/Cypress/

@filiphric

This comment has been minimized.

Copy link

filiphric commented Sep 8, 2018

so I did a little digging through cypress github issues and through interwebs and I found a solution that fixed my problem. the problem with this seemed to be with reaching any URL within browser, while browser itself had no problem opening.

I stumbled upon this and this issue and it seemed that some mess with localhost mapping was the core of the problem.

there is an /etc/hosts file on your Mac, (sorry Win guys if you have this issue too) that stores some data which probably some smarter guys than me should be able to explain. When I opened this, it was empty, so it might be a good idea to check it. I did a migration from old to new mac, so it seemed like a good idea to look for problems on default system configurations (not everything is migrated during migration apparently. I mean dude, where are my wifi passwords? ¯\_(ツ)_/¯).

Anyway, since this file was empty, I basically looked what should be the defaults and copied them. Something like this:

  1. open terminal, type: sudo nano /etc/hosts
  2. if nothing is present, input defaults:
##
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1	localhost
255.255.255.255	broadcasthost
::1 localhost
fe80::1%lo0	localhost
  1. save and close. (ctrl + X then y then enter)
  2. reopen cypress and all should work normally

(you probably don’t need to copy the comments)

as I found out in those linked issues, Cypress apparently relies on this (probably the reason for throwing those HEAD / 500 errors)

Anyway, this worked for me and after two days of banging my head on the wall, I’m back writing my tests on a new mac 😄

@sstern6

This comment has been minimized.

Copy link

sstern6 commented Oct 22, 2018

@filiphric had the same issue, and adding 127.0.0.1 localhost fixed it.

@anilmadala

This comment has been minimized.

Copy link

anilmadala commented Nov 17, 2018

So, the logs look pretty normal. Couple questions/comments.

  1. Do you see the Cypress extension little logo when you open the Chrome browser?
cy-extension
  1. If not, you could try:
  • opening up the cypress app
  • Goto File -> View App Data
  • Delete everything in here
  • Close cypress and open it up again
  • And it should recreate all the browser profiles + extension

Thanks for your suggestion it works for me
Have a great day!

@mbrochh

This comment has been minimized.

Copy link

mbrochh commented Dec 27, 2018

I'm getting this error when trying to write a test that logs in to Instagram:

context("Instagram", () => {
  it("get Instagram notifications", () => {
    cy.clearCookies();
    cy.visit("https://instagram.com/accounts/login");
    cy.get("div")
      .contains("Switch accounts")
      .click();
    cy.get('input[name="username"]').type("MYUSERNAME");
    cy.get('input[name="password"]')
      .type("MYPASSWORD")
      .type("{enter}");
  });
});
@Neilpoulin

This comment has been minimized.

Copy link

Neilpoulin commented Jan 2, 2019

I had a similar issue when using Chrome Canary 73. However, my issue manifested in a slightly different way.

tldr; using electron or a non-canary build of chrome appears to have resolved my issue.

When hitting my local server (react app with react-router v4, running via webpack-dev-server with hot reload) on https://localhost:8081 in a cypress test, my app would load but none of the Cypress tooling would appear. My app would also present a 404 page, saying that no route for /__ could be found (which is true, since I don't have that route mapped). The below image is all I would see in the terminal that is running Cypress.

image

However, if I hit my production app using Chrome Canary 73, Cypress & my tests loaded up just fine. So, I was going down a rabbit hole thinking that the issue was with my dev-server setup, but it turns out that the browser I was running Cypress in made the difference.

Note: the Cypress chrome extension in the Canary build did show up.

@tobyweston

This comment has been minimized.

Copy link

tobyweston commented Jan 24, 2019

If my system admins prevent the installation of extensions in my basic Chrome install, will it affect the cypress "profile" / cause this issue?

@Squixx

This comment has been minimized.

Copy link

Squixx commented Feb 22, 2019

@tobyweston seems to be the case. I cant run in chrome either cause the extention gets removed upon start.

@rafawalter

This comment has been minimized.

Copy link

rafawalter commented Feb 26, 2019

Browser not launching through Cypress. Seems to be related to corporate policy not allowing unpacked plugins, only whitelisted.

Could it be caused by the corporate policy? Is there a workaround, maybe adding the Cypress Extension ID to the corporate whitelist? Is there an ID that doesn´t change?

@flotwig

This comment has been minimized.

Copy link
Member

flotwig commented Feb 27, 2019

We could generate a keypair and set the key in the extension's manifest.json to our public key. That would guarantee that the extension ID would be static so users can whitelist it.

Workaround 1: Using Electron instead of Chrome to run your tests can bypass this group policy.

Workaround 2: If you have Local Administrator access to your computer, you may be able to delete the registry keys that are blocking installing extensions in Chrome:

  1. Open Registry Editor (regedit.exe)
  2. Visit HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome
  3. Remove all items related to extensions, according to the Chromium Policy List (ExtensionInstallBlacklist, ExtensionInstallWhitelist, ExtensionInstallForcelist, ExtensionInstallSources, etc.)

There is a related issue documenting efforts to bypass system policy settings within Cypress itself: #1253

@rafawalter

This comment has been minimized.

Copy link

rafawalter commented Mar 8, 2019

Thank you for the great product.

The static extension ID would be awesome! Seems like a simple/quick solution too. Does it help if I open an issue, or an branch+merge request?

Workaround 1: Great! Tests are running in Electron, Page loading times are ok, but cy.visit is very slow to complete. Total time to run all 103 example tests is 385.65secs...

Workaround 2: Corporate policy doesn´t allow me to be a Local Administrator. :-(

@bluehenry

This comment has been minimized.

Copy link

bluehenry commented Mar 11, 2019

We could generate a keypair and set the key in the extension's manifest.json to our public key. That would guarantee that the extension ID would be static so users can whitelist it.

Workaround 1: Using Electron instead of Chrome to run your tests can bypass this group policy.

Workaround 2: If you have Local Administrator access to your computer, you may be able to delete the registry keys that are blocking installing extensions in Chrome:

  1. Open Registry Editor (regedit.exe)
  2. Visit HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome
  3. Remove all items related to extensions, according to the Chromium Policy List (ExtensionInstallBlacklist, ExtensionInstallWhitelist, ExtensionInstallForcelist, ExtensionInstallSources, etc.)

There is a related issue documenting efforts to bypass system policy settings within Cypress itself: #1253

Workaround 2 works for me. Thanks!

@cypress-bot

This comment has been minimized.

Copy link

cypress-bot bot commented Mar 15, 2019

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

@cypress-bot

This comment has been minimized.

Copy link

cypress-bot bot commented Mar 15, 2019

Released in 3.2.0.

@ericdfields

This comment has been minimized.

Copy link

ericdfields commented Mar 21, 2019

I've spent the day with a colleague experiencing this and none of the proposed solutions have helped. Our test suite runs fine on everyone else's machine except his. We've wiped app data, node modules, uninstalled browsers, cypress, etc. We have full admin access to our machines (Macs).

The one thing that sticks out to me is how the URL string renders in the browser. See attached image.

What else can I provide that may be useful for debugging?

Screen Shot 2019-03-21 at 12 01 42 PM

@flotwig

This comment has been minimized.

Copy link
Member

flotwig commented Mar 21, 2019

@ericdfields That shouldn't be happening, can you supply the debug logs you get when you launch Cypress using the debug environment variables?

DEBUG=cypress:* cypress open...

@ericdfields

This comment has been minimized.

Copy link

ericdfields commented Mar 22, 2019

Believe it or not, we reformatted the system and set things up as usual and it's working fine. :-/

I don't have a full copy of logs, but they looked similar to my working ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.