Closed ovenal closed 4 years ago
We've made a large amount of changes to how we handle Chrome that are improvements overall, but since there are a lot of changes, there are some bugs for some users. If you want it to be managed the same as 3.4.1, you can revert back to that version.
Can you verify that you are running 1 Cypress application? I have seen this also, but only when running cypress open
for 2 directories.
Next, we will need debug logs when this happens for you. Could you run Cypress in debug mode mode during cypress open
and print the entire set of logs here? Thanks.
Edit: Moved issue of 2 instances of Cypress to https://github.com/cypress-io/cypress/issues/5613
I can recreate this behavior by doing the following:
cypress open
in one terminal from a project.cypress open
in another terminal from another project.My DEBUG logs
Last login: Thu Oct 24 08:15:08 on ttys007
avn activated 8.6.0 (avn-nvm v8.6.0)
cypress open
^C
DEBUG=cypress:* cypress open
cypress:cli cli starts with arguments ["/Users/jennifer/.nvm/versions/node/v8.6.0/bin/node","/Users/jennifer/Dev/cypress-documentation/node_modules/.bin/cypress","open"] +0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli program parsing arguments +2ms
cypress:cli opening Cypress +1ms
cypress:cli parsed cli options {} +141ms
cypress:cli opening from options {"project":"/Users/jennifer/Dev/cypress-documentation"} +0ms
cypress:cli command line arguments ["--project","/Users/jennifer/Dev/cypress-documentation"] +0ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +1ms
cypress:cli checking if executable exists /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress +12ms
cypress:cli Binary is executable? : true +1ms
cypress:cli binaryDir is /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app +1ms
cypress:cli Reading binary package.json from: /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/package.json +0ms
cypress:cli Found binary version 3.5.0 installed in: /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app +2ms
cypress:cli { verified: true } +4ms
cypress:cli is Verified ? true +2ms
cypress:cli needs to start own Xvfb? false +0ms
cypress:cli spawning, should retry on display problem? false +0ms
cypress:cli spawning Cypress with executable: /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress +5ms
cypress:cli spawn args [ '--project', '/Users/jennifer/Dev/cypress-documentation', '--cwd', '/Users/jennifer/Dev/cypress-documentation' ] { detached: false, stdio: 'inherit' } +0ms
cypress:ts Running without ts-node hook in environment "production" +0ms
cypress:server:cypress starting cypress with argv [ '/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress', '--project', '/Users/jennifer/Dev/cypress-documentation', '--cwd', '/Users/jennifer/Dev/cypress-documentation' ] +0ms
cypress:server:args argv array: [ '/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress', '--project', '/Users/jennifer/Dev/cypress-documentation', '--cwd', '/Users/jennifer/Dev/cypress-documentation' ] +0ms
cypress:server:args argv parsed: { _: [ '/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress' ], project: '/Users/jennifer/Dev/cypress-documentation', cwd: '/Users/jennifer/Dev/cypress-documentation', invokedFromCli: true } +3ms
cypress:server:util:proxy found proxy environment variables {} +0ms
cypress:server:args options { _: [ '/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress' ], project: '/Users/jennifer/Dev/cypress-documentation', cwd: '/Users/jennifer/Dev/cypress-documentation', invokedFromCli: true, config: {} } +1ms
cypress:server:args argv options: { _: [ '/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/MacOS/Cypress' ], project: '/Users/jennifer/Dev/cypress-documentation', cwd: '/Users/jennifer/Dev/cypress-documentation', invokedFromCli: true, config: {}, projectRoot: '/Users/jennifer/Dev/cypress-documentation' } +0ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production +0ms
cypress:server:cypress starting in mode interactive +366ms
cypress:server:cypress running Electron currently +0ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production +361ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +3ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production/browsers +2s
cypress:server:saved_state making saved state from /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server +0ms
cypress:server:saved_state for project path /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:saved_state state path for project /Users/jennifer/Dev/cypress-documentation +1ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +515ms
cypress:server:saved_state full state path /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:saved_state making new state file around /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file get values from /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file attempt to get lock on /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +1ms
cypress:server:file gettin lock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +3ms
cypress:server:file read /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file read succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +1ms
cypress:server:file attempt to unlock /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file unlock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +1ms
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, frame: true, transparent: false, webPreferences: { preload: '/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/ipc/ipc.js', partition: null, webSecurity: false, nodeIntegration: false, backgroundThrottling: false, backgroundColor: '#dfe2e4', transparent: false }, url: 'file:///Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/desktop-gui/dist/index.html', contextMenu: false, recordFrameRate: null, onPaint: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] } +0ms
cypress:server:events got request for event: on:menu:clicked, undefined +0ms
cypress:server:events got request for event: get:options, undefined +0ms
cypress:server:events sending ipc data { type: 'get:options', data: { id: 0.7601119084065686, data: { _: [Array], project: '/Users/jennifer/Dev/cypress-documentation', cwd: '/Users/jennifer/Dev/cypress-documentation', invokedFromCli: true, config: {}, projectRoot: '/Users/jennifer/Dev/cypress-documentation', onFocusTests: [Function: onFocusTests], os: 'darwin', version: '3.5.0' } } } +1ms
cypress:server:events got request for event: get:current:user, undefined +0ms
cypress:server:file get values from /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +401ms
cypress:server:file attempt to get lock on /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file gettin lock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +2ms
cypress:server:file read /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file read succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file attempt to unlock /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file unlock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:events sending ipc data { type: 'get:current:user', data: { id: 0.5598245526339884, data: {} } } +4ms
cypress:server:events got request for event: on:focus:tests, undefined +4s
cypress:server:events got request for event: on:spec:changed, undefined +0ms
cypress:server:events got request for event: on:config:changed, undefined +0ms
cypress:server:events got request for event: on:project:error, undefined +1ms
cypress:server:events got request for event: on:project:warning, undefined +0ms
cypress:server:events got request for event: open:project, '/Users/jennifer/Dev/cypress-documentation' +0ms
cypress:server:events got request for event: updater:check, undefined +1ms
cypress:server:updater checking for new version of Cypress. current version is 3.5.0 +0ms
cypress:launcher checking one browser chrome +0ms
cypress:launcher looking up chrome on darwin platform +1ms
cypress:launcher looking for app Contents/MacOS/Google Chrome id com.google.Chrome +0ms
cypress:launcher looking for bundle id com.google.Chrome using command: mdfind 'kMDItemCFBundleIdentifier=="com.google.Chrome"' | head -1 +0ms
cypress:launcher checking one browser chrome +7ms
cypress:launcher looking up chrome on darwin platform +1ms
cypress:launcher looking for app Contents/MacOS/Google Chrome id com.google.Chrome +0ms
cypress:launcher looking for bundle id com.google.Chrome using command: mdfind 'kMDItemCFBundleIdentifier=="com.google.Chrome"' | head -1 +0ms
cypress:launcher checking one browser chrome +6ms
cypress:launcher looking up chrome on darwin platform +0ms
cypress:launcher looking for app Contents/MacOS/Google Chrome id com.google.Chrome +0ms
cypress:launcher looking for bundle id com.google.Chrome using command: mdfind 'kMDItemCFBundleIdentifier=="com.google.Chrome"' | head -1 +0ms
cypress:network:agent addRequest called { isHttps: true, href: 'https://download.cypress.io/desktop.json' } +0ms
cypress:network:connect beginning getAddress { hostname: 'download.cypress.io', port: 443 } +0ms
cypress:network:connect got addresses { hostname: 'download.cypress.io', port: 443, addresses: [ { address: '104.25.215.23', family: 4 }, { address: '104.25.214.23', family: 4 }, { address: '2606:4700:20::6819:d717', family: 6 }, { address: '2606:4700:20::6819:d617', family: 6 } ] } +4ms
cypress:launcher found com.google.Chrome at /Applications/Google Chrome.app +57ms
cypress:launcher reading property file "/Applications/Google Chrome.app/Contents/Info.plist" +0ms
cypress:network:agent got family { family: 4, href: 'https://download.cypress.io/desktop.json' } +37ms
cypress:launcher found com.google.Chrome at /Applications/Google Chrome.app +15ms
cypress:launcher reading property file "/Applications/Google Chrome.app/Contents/Info.plist" +0ms
cypress:launcher found com.google.Chrome at /Applications/Google Chrome.app +1ms
cypress:launcher reading property file "/Applications/Google Chrome.app/Contents/Info.plist" +0ms
cypress:launcher setting major version for {"name":"chrome","family":"chrome","displayName":"Chrome","version":"77.0.3865.120","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"} +9ms
cypress:launcher browser chrome version 77.0.3865.120 major version 77 +1ms
cypress:launcher setting major version for {"name":"chrome","family":"chrome","displayName":"Chrome","version":"77.0.3865.120","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"} +5ms
cypress:launcher browser chrome version 77.0.3865.120 major version 77 +0ms
cypress:launcher setting major version for {"name":"chrome","family":"chrome","displayName":"Chrome","version":"77.0.3865.120","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"} +7ms
cypress:launcher browser chrome version 77.0.3865.120 major version 77 +0ms
cypress:launcher checking one browser chromium +0ms
cypress:launcher looking up chromium on darwin platform +0ms
cypress:launcher looking for app Contents/MacOS/Chromium id org.chromium.Chromium +0ms
cypress:launcher looking for bundle id org.chromium.Chromium using command: mdfind 'kMDItemCFBundleIdentifier=="org.chromium.Chromium"' | head -1 +0ms
cypress:launcher checking one browser chromium +6ms
cypress:launcher looking up chromium on darwin platform +0ms
cypress:launcher looking for app Contents/MacOS/Chromium id org.chromium.Chromium +0ms
cypress:launcher looking for bundle id org.chromium.Chromium using command: mdfind 'kMDItemCFBundleIdentifier=="org.chromium.Chromium"' | head -1 +0ms
cypress:launcher found org.chromium.Chromium at /Applications/Chromium.app +54ms
cypress:launcher reading property file "/Applications/Chromium.app/Contents/Info.plist" +0ms
cypress:launcher setting major version for {"name":"chromium","family":"chrome","displayName":"Chromium","version":"74.0.3729.0","path":"/Applications/Chromium.app/Contents/MacOS/Chromium"} +6ms
cypress:launcher browser chromium version 74.0.3729.0 major version 74 +0ms
cypress:launcher found org.chromium.Chromium at /Applications/Chromium.app +1ms
cypress:launcher reading property file "/Applications/Chromium.app/Contents/Info.plist" +0ms
cypress:launcher setting major version for {"name":"chromium","family":"chrome","displayName":"Chromium","version":"74.0.3729.0","path":"/Applications/Chromium.app/Contents/MacOS/Chromium"} +5ms
cypress:launcher browser chromium version 74.0.3729.0 major version 74 +0ms
cypress:launcher checking one browser canary +0ms
cypress:launcher looking up canary on darwin platform +0ms
cypress:launcher looking for app Contents/MacOS/Google Chrome Canary id com.google.Chrome.canary +0ms
cypress:launcher looking for bundle id com.google.Chrome.canary using command: mdfind 'kMDItemCFBundleIdentifier=="com.google.Chrome.canary"' | head -1 +0ms
cypress:launcher found com.google.Chrome.canary at /Applications/Google Chrome Canary.app +52ms
cypress:launcher reading property file "/Applications/Google Chrome Canary.app/Contents/Info.plist" +0ms
cypress:launcher setting major version for {"name":"canary","family":"chrome","displayName":"Canary","version":"80.0.3949.0","path":"/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"} +6ms
cypress:launcher browser canary version 80.0.3949.0 major version 80 +0ms
cypress:server:project Project created /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:openproject opening project /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:project opening project instance /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:project project options { browsers: [ { name: 'chrome', family: 'chrome', displayName: 'Chrome', version: '77.0.3865.120', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', majorVersion: '77' }, { name: 'chromium', family: 'chrome', displayName: 'Chromium', version: '74.0.3729.0', path: '/Applications/Chromium.app/Contents/MacOS/Chromium', majorVersion: '74' }, { name: 'canary', family: 'chrome', displayName: 'Canary', version: '80.0.3949.0', path: '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary', majorVersion: '80' }, { name: 'electron', family: 'electron', displayName: 'Electron', version: '73.0.3683.121', path: '', majorVersion: '73', 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.' } ], onFocusTests: [Function: onFocusTests], onSpecChanged: [Function: onSpecChanged], onSettingsChanged: [Function: onSettingsChanged], onError: [Function: onError], onWarning: [Function: onWarning], onReloadBrowser: [Function], report: false } +0ms
cypress:server:updater latest version of Cypress is: 3.5.0 +270ms
cypress:server:updater new version of Cypress does not exist +0ms
cypress:server:events sending ipc data { type: 'updater:check', data: { id: 0.6289088430667689, data: false } } +271ms
cypress:server:config using CYPRESS_ENV production +0ms
cypress:server:config setting support file /Users/jennifer/Dev/cypress-documentation/cypress/support +2ms
cypress:server:config for project root /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:config set support folder /Users/jennifer/Dev/cypress-documentation/cypress/support +1ms
cypress:server:config setting plugins file /Users/jennifer/Dev/cypress-documentation/cypress/plugins +0ms
cypress:server:config for project root /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:config set pluginsFile to /Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js +0ms
cypress:server:config set scaffold paths +0ms
cypress:server:scaffold scaffolded files ["cypress/integration/examples/actions.spec.js","cypress/integration/examples/aliasing.spec.js","cypress/integration/examples/assertions.spec.js","cypress/integration/examples/connectors.spec.js","cypress/integration/examples/cookies.spec.js","cypress/integration/examples/cypress_api.spec.js","cypress/integration/examples/files.spec.js","cypress/integration/examples/local_storage.spec.js","cypress/integration/examples/location.spec.js","cypress/integration/examples/misc.spec.js","cypress/integration/examples/navigation.spec.js","cypress/integration/examples/network_requests.spec.js","cypress/integration/examples/querying.spec.js","cypress/integration/examples/spies_stubs_clocks.spec.js","cypress/integration/examples/traversal.spec.js","cypress/integration/examples/utilities.spec.js","cypress/integration/examples/viewport.spec.js","cypress/integration/examples/waiting.spec.js","cypress/integration/examples/window.spec.js","cypress/fixtures/example.json","cypress/support/commands.js","cypress/support/index.js","cypress/plugins/index.js"] +0ms
cypress:server:config got file tree +4ms
cypress:server:project get saved state +32ms
cypress:server:saved_state making saved state from /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server +5s
cypress:server:saved_state for project path /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:saved_state state path for project /Users/jennifer/Dev/cypress-documentation +0ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +5s
cypress:server:saved_state full state path /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +5s
cypress:server:file get values from /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +4s
cypress:server:file attempt to get lock on /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file gettin lock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +1ms
cypress:server:file read /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file read succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +1ms
cypress:server:file attempt to unlock /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:file unlock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/projects/cypress-documentation-f44b5e7996d80bb9668708900f007088/state.json +0ms
cypress:server:scaffold determine if new project by globbing files in { integrationFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/integration' } +4ms
cypress:server:scaffold found 11 files in folder /Users/jennifer/Dev/cypress-documentation/cypress/integration +9ms
cypress:server:scaffold determine if we should scaffold: +1ms
cypress:server:scaffold - empty? false +0ms
cypress:server:scaffold - different number of files? true +0ms
cypress:server:scaffold - same sizes? false +0ms
cypress:server:scaffold untouched scaffold false modal closed false +0ms
cypress:server:scaffold plugins folder /Users/jennifer/Dev/cypress-documentation/cypress/plugins +1ms
cypress:server:scaffold verify scaffolding in /Users/jennifer/Dev/cypress-documentation/cypress/plugins +0ms
cypress:server:scaffold folder /Users/jennifer/Dev/cypress-documentation/cypress/plugins already exists +1ms
cypress:server:plugins plugins.init /Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js +0ms
cypress:server:plugins forking to run /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/index.js +0ms
cypress:server:plugins:child pluginsFile: /Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js +0ms
cypress:server:plugins:child require pluginsFile +2ms
cypress:server:plugins:child run plugins function +2ms
cypress:server:plugins:child register event _get:task:body with id 0 +0ms
cypress:server:plugins:child register event _get:task:keys with id 1 +1ms
cypress:server:plugins:child register event task with id 2 +0ms
cypress:server:plugins register plugins process event _get:task:body with id 0 +251ms
cypress:server:plugins register event '_get:task:body' +0ms
cypress:server:plugins register plugins process event _get:task:keys with id 1 +0ms
cypress:server:plugins register event '_get:task:keys' +0ms
cypress:server:plugins register plugins process event task with id 2 +0ms
cypress:server:plugins register event 'task' +0ms
cypress:server:plugins resolving with new config { animationDistanceThreshold: 5, fileServerFolder: '/Users/jennifer/Dev/cypress-documentation', baseUrl: 'http://localhost:2222', fixturesFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/fixtures', blacklistHosts: [ 'trackcmp.net', 'js.hs-analytics.net', 'js.hs-scripts.com' ], chromeWebSecurity: true, modifyObstructiveCode: true, integrationFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/integration', env: { NODE_ENV: 'development' }, pluginsFile: '/Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js', hosts: null, screenshotsFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/screenshots', numTestsKeptInMemory: 50, supportFile: '/Users/jennifer/Dev/cypress-documentation/cypress/support/index.js', port: null, supportFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/support', projectId: 'ma3dkn', videosFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/videos', reporter: 'spec', reporterOptions: null, ignoreTestFiles: '*.hot-update.js', testFiles: '**/*.*', defaultCommandTimeout: 4000, trashAssetsBeforeRuns: true, execTimeout: 60000, userAgent: null, pageLoadTimeout: 60000, viewportWidth: 1500, requestTimeout: 5000, viewportHeight: 660, responseTimeout: 30000, video: true, taskTimeout: 60000, videoCompression: 32, videoUploadOnPasses: true, watchForFileChanges: true, waitForAnimations: true, resolvedNodeVersion: '12.0.0', nodeVersion: 'default' } +0ms
cypress:server:project plugin config yielded: { animationDistanceThreshold: 5,
fileServerFolder: '/Users/jennifer/Dev/cypress-documentation',
baseUrl: 'http://localhost:2222',
fixturesFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/fixtures',
blacklistHosts:
[ 'trackcmp.net', 'js.hs-analytics.net', 'js.hs-scripts.com' ],
chromeWebSecurity: true,
modifyObstructiveCode: true,
integrationFolder:
'/Users/jennifer/Dev/cypress-documentation/cypress/integration',
env: { NODE_ENV: 'development' },
pluginsFile:
'/Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js',
hosts: null,
screenshotsFolder:
'/Users/jennifer/Dev/cypress-documentation/cypress/screenshots',
numTestsKeptInMemory: 50,
supportFile:
'/Users/jennifer/Dev/cypress-documentation/cypress/support/index.js',
port: null,
supportFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/support',
projectId: 'ma3dkn',
videosFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/videos',
reporter: 'spec',
reporterOptions: null,
ignoreTestFiles: '*.hot-update.js',
testFiles: '**/*.*',
defaultCommandTimeout: 4000,
trashAssetsBeforeRuns: true,
execTimeout: 60000,
userAgent: null,
pageLoadTimeout: 60000,
viewportWidth: 1500,
requestTimeout: 5000,
viewportHeight: 660,
responseTimeout: 30000,
video: true,
taskTimeout: 60000,
videoCompression: 32,
videoUploadOnPasses: true,
watchForFileChanges: true,
waitForAnimations: true,
resolvedNodeVersion: '12.0.0',
nodeVersion: 'default' } +266ms
cypress:server:buffers resetting buffers +0ms
cypress:server:server Server listening on { address: '127.0.0.1', family: 'IPv4', port: 58342 } +0ms
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production/proxy +354ms
cypress:https-proxy Created SNI HTTPS Proxy Server { port: 58344 } +0ms
cypress:network:connect beginning getAddress { hostname: 'localhost', port: 2222 } +602ms
cypress:network:connect got addresses { hostname: 'localhost', port: 2222, addresses: [ { address: '127.0.0.1', family: 4 } ] } +2ms
cypress:server:server Setting remoteAuth undefined +17ms
cypress:server:cors Parsed URL { port: '2222', tld: 'localhost', domain: '' } +0ms
cypress:server:server Setting remoteOrigin http://localhost:2222 +16ms
cypress:server:server Setting remoteHostAndPort { port: '2222', tld: 'localhost', domain: '' } +0ms
cypress:server:server Setting remoteDocDomain localhost +0ms
cypress:server:server Getting remote state: { auth: undefined, props: { port: '2222', tld: 'localhost', domain: '' }, origin: 'http://localhost:2222', strategy: 'http', visiting: undefined, domainName: 'localhost', fileServer: null } +0ms
cypress:server:project project config: { env: { NODE_ENV: 'development' }, baseUrl: 'http://localhost:2222', projectId: 'ma3dkn', viewportWidth: 1500, blacklistHosts: [ 'trackcmp.net', 'js.hs-analytics.net', 'js.hs-scripts.com' ], projectRoot: '/Users/jennifer/Dev/cypress-documentation', projectName: 'cypress-documentation', report: false, browsers: [ { name: 'chrome', family: 'chrome', displayName: 'Chrome', version: '77.0.3865.120', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', majorVersion: '77' }, { name: 'chromium', family: 'chrome', displayName: 'Chromium', version: '74.0.3729.0', path: '/Applications/Chromium.app/Contents/MacOS/Chromium', majorVersion: '74' }, { name: 'canary', family: 'chrome', displayName: 'Canary', version: '80.0.3949.0', path: '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary', majorVersion: '80' }, { name: 'electron', family: 'electron', displayName: 'Electron', version: '73.0.3683.121', path: '', majorVersion: '73', 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: 58342, hosts: null, morgan: true, socketId: null, userAgent: null, isTextTerminal: false, reporter: 'spec', reporterOptions: 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, taskTimeout: 60000, video: true, videoCompression: 32, videoUploadOnPasses: true, modifyObstructiveCode: true, chromeWebSecurity: true, waitForAnimations: true, animationDistanceThreshold: 5, numTestsKeptInMemory: 50, watchForFileChanges: true, trashAssetsBeforeRuns: true, autoOpen: false, viewportHeight: 660, fileServerFolder: '/Users/jennifer/Dev/cypress-documentation', videosFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/videos', supportFile: '/Users/jennifer/Dev/cypress-documentation/cypress/support/index.js', fixturesFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/fixtures', integrationFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/integration', screenshotsFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/screenshots', namespace: '__cypress', pluginsFile: '/Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js', nodeVersion: 'default', configFile: 'cypress.json', javascripts: [], cypressEnv: 'production', parentTestsFolder: '/Users/jennifer/Dev/cypress-documentation/cypress', parentTestsFolderDisplay: 'cypress-documentation/cypress', supportFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/support', integrationExampleName: 'examples', integrationExamplePath: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/examples', scaffoldedFiles: [ { name: 'cypress', children: [Array] } ], resolvedNodeVersion: '12.0.0', state: {}, isNewProject: false, proxyUrl: 'http://localhost:58342', browserUrl: 'http://localhost:2222/__/', reporterUrl: 'http://localhost:2222/__cypress/reporter', xhrUrl: '__cypress/xhrs/' } +122ms
cypress:server:project watch settings files +2ms
cypress:server:project scaffolding project /Users/jennifer/Dev/cypress-documentation +4ms
cypress:server:scaffold support folder /Users/jennifer/Dev/cypress-documentation/cypress/support, support file /Users/jennifer/Dev/cypress-documentation/cypress/support/index.js +380ms
cypress:server:scaffold verify scaffolding in /Users/jennifer/Dev/cypress-documentation/cypress/support +0ms
cypress:server:scaffold integration folder /Users/jennifer/Dev/cypress-documentation/cypress/integration +0ms
cypress:server:scaffold verify scaffolding in /Users/jennifer/Dev/cypress-documentation/cypress/integration +0ms
cypress:server:scaffold fixture folder /Users/jennifer/Dev/cypress-documentation/cypress/fixtures +0ms
cypress:server:scaffold verify scaffolding in /Users/jennifer/Dev/cypress-documentation/cypress/fixtures +1ms
cypress:server:scaffold folder /Users/jennifer/Dev/cypress-documentation/cypress/support already exists +1ms
cypress:server:scaffold folder /Users/jennifer/Dev/cypress-documentation/cypress/integration already exists +0ms
cypress:server:scaffold folder /Users/jennifer/Dev/cypress-documentation/cypress/fixtures already exists +0ms
cypress:server:project attempt watch plugins file: /Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js +2ms
cypress:server:project plugins file found? true +1ms
cypress:server:project watch plugins file +0ms
cypress:server:events sending ipc data { type: 'open:project', data: { id: 0.015727490371473474, data: { env: [Object], baseUrl: 'http://localhost:2222', projectId: 'ma3dkn', viewportWidth: 1500, blacklistHosts: [Array], projectRoot: '/Users/jennifer/Dev/cypress-documentation', projectName: 'cypress-documentation', report: false, browsers: [Array], port: 58342, hosts: null, morgan: true, socketId: null, userAgent: null, isTextTerminal: false, reporter: 'spec', reporterOptions: 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, taskTimeout: 60000, video: true, videoCompression: 32, videoUploadOnPasses: true, modifyObstructiveCode: true, chromeWebSecurity: true, waitForAnimations: true, animationDistanceThreshold: 5, numTestsKeptInMemory: 50, watchForFileChanges: true, trashAssetsBeforeRuns: true, autoOpen: false, viewportHeight: 660, fileServerFolder: '/Users/jennifer/Dev/cypress-documentation', videosFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/videos', supportFile: '/Users/jennifer/Dev/cypress-documentation/cypress/support/index.js', fixturesFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/fixtures', integrationFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/integration', screenshotsFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/screenshots', namespace: '__cypress', pluginsFile: '/Users/jennifer/Dev/cypress-documentation/cypress/plugins/index.js', nodeVersion: 'default', configFile: 'cypress.json', javascripts: [], cypressEnv: 'production', resolved: [Object], parentTestsFolder: '/Users/jennifer/Dev/cypress-documentation/cypress', parentTestsFolderDisplay: 'cypress-documentation/cypress', supportFolder: '/Users/jennifer/Dev/cypress-documentation/cypress/support', integrationExampleName: 'examples', integrationExamplePath: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/examples', scaffoldedFiles: [Array], resolvedNodeVersion: '12.0.0', state: {}, isNewProject: false, proxyUrl: 'http://localhost:58342', browserUrl: 'http://localhost:2222/__/', reporterUrl: 'http://localhost:2222/__cypress/reporter', xhrUrl: '__cypress/xhrs/' } } } +427ms
cypress:server:events got request for event: get:specs, undefined +11ms
cypress:server:openproject check for spec updates +457ms
cypress:server:events got request for event: get:project:status, { id: 'ma3dkn', path: '/Users/jennifer/Dev/cypress-documentation' } +1ms
cypress:server:project get project status for ma3dkn /Users/jennifer/Dev/cypress-documentation +28ms
cypress:server:file get values from /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +423ms
cypress:server:file attempt to get lock on /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:openproject watch test files: **/*.* in /Users/jennifer/Dev/cypress-documentation/cypress/integration +1ms
cypress:server:specs looking for test specs in the folder: /Users/jennifer/Dev/cypress-documentation/cypress/integration +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/api_spec.js +6ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/changelog_spec.js +1ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/contentful_banners_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/i18n_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/main_nav_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/main_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/mobile_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/page_header_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/pagination_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/sidebar_spec.js +0ms
cypress:server:specs found spec file /Users/jennifer/Dev/cypress-documentation/cypress/integration/table_of_contents.js +0ms
cypress:server:specs found 11 spec files: [ { name: 'api_spec.js', relative: 'cypress/integration/api_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/api_spec.js' }, { name: 'changelog_spec.js', relative: 'cypress/integration/changelog_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/changelog_spec.js' }, { name: 'contentful_banners_spec.js', relative: 'cypress/integration/contentful_banners_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/contentful_banners_spec.js' }, { name: 'i18n_spec.js', relative: 'cypress/integration/i18n_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/i18n_spec.js' }, { name: 'main_nav_spec.js', relative: 'cypress/integration/main_nav_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/main_nav_spec.js' }, { name: 'main_spec.js', relative: 'cypress/integration/main_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/main_spec.js' }, { name: 'mobile_spec.js', relative: 'cypress/integration/mobile_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/mobile_spec.js' }, { name: 'page_header_spec.js', relative: 'cypress/integration/page_header_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/page_header_spec.js' }, { name: 'pagination_spec.js', relative: 'cypress/integration/pagination_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/pagination_spec.js' }, { name: 'sidebar_spec.js', relative: 'cypress/integration/sidebar_spec.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/sidebar_spec.js' }, { name: 'table_of_contents.js', relative: 'cypress/integration/table_of_contents.js', absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/table_of_contents.js' } ] +0ms
cypress:server:events sending ipc data { type: 'get:specs', data: { id: 0.9330518598921047, data: { integration: [Array] } } } +11ms
cypress:server:file gettin lock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +11ms
cypress:server:file read /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +1ms
cypress:server:file read succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +2ms
cypress:server:file attempt to unlock /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file unlock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:events send error: { Error: You're not logged in. Run `cypress open` to open the Desktop App and log in. at Object.get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11) at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/user.js:63:26 at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'NOT_LOGGED_IN', details: undefined, isApiError: true } +5ms
cypress:server:events sending ipc data { type: 'get:project:status', data: { id: 0.5088799957184544, __error: { type: 'NOT_LOGGED_IN', name: 'Error', stack: "Error: You're not logged in.\n\nRun `cypress open` to open the Desktop App and log in.\n at Object.get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11)\n at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/user.js:63:26\n at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)\n at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)\n at processImmediate (internal/timers.js:443:21)\n", message: "You're not logged in.\n\nRun `cypress open` to open the Desktop App and log in.", isCypressErr: true, details: undefined, isApiError: true } } } +1ms
cypress:server:events got request for event: close:browser, undefined +8s
cypress:server:events sending ipc data { type: 'close:browser', data: { id: 0.18339052908971976, data: undefined } } +0ms
cypress:server:events got request for event: launch:browser, { browser: { displayName: 'Chrome', family: 'chrome', isChosen: true, majorVersion: '77', name: 'chrome', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', version: '77.0.3865.120' }, spec: { absolute: '/Users/jennifer/Dev/cypress-documentation/cypress/integration/api_spec.js', name: 'api_spec.js', relative: 'cypress/integration/api_spec.js' } } +5ms
cypress:server:openproject resetting project state, preparing to launch browser +8s
cypress:server:project resetting project instance /Users/jennifer/Dev/cypress-documentation +8s
cypress:server:buffers resetting buffers +9s
cypress:server:server Setting remoteAuth undefined +8s
cypress:server:cors Parsed URL { port: '2222', tld: 'localhost', domain: '' } +8s
cypress:server:server Setting remoteOrigin http://localhost:2222 +0ms
cypress:server:server Setting remoteHostAndPort { port: '2222', tld: 'localhost', domain: '' } +1ms
cypress:server:server Setting remoteDocDomain localhost +0ms
cypress:server:server Getting remote state: { auth: undefined, props: { port: '2222', tld: 'localhost', domain: '' }, origin: 'http://localhost:2222', strategy: 'http', visiting: undefined, domainName: 'localhost', fileServer: null } +0ms
cypress:server:openproject launching browser: { displayName: 'Chrome', family: 'chrome', isChosen: true, majorVersion: '77', name: 'chrome', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', version: '77.0.3865.120', isHeaded: true, isHeadless: false }, spec: cypress/integration/api_spec.js +2ms
cypress:server:browsers opening browser { displayName: 'Chrome', family: 'chrome', isChosen: true, majorVersion: '77', name: 'chrome', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', version: '77.0.3865.120', isHeaded: true, isHeadless: false } +0ms
cypress:server:plugins plugin event registered? { event: 'before:browser:launch', isRegistered: false } +9s
cypress:server:appdata path: /Users/jennifer/Library/Application Support/Cypress/cy/production/extensions +8s
cypress:server:browsers:chrome cleaning up unclean exit status +0ms
cypress:server:browsers:chrome launching in chrome with debugging port { url: 'http://localhost:2222/__/#/tests/integration/api_spec.js',
args:
[ '--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-device-discovery-notifications',
'--disable-infobars',
'--autoplay-policy=no-user-gesture-required',
'--disable-site-isolation-trials',
'--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',
'--use-fake-ui-for-media-stream',
'--use-fake-device-for-media-stream',
'--disable-ipc-flooding-protection',
'--disable-backgrounding-occluded-window',
'--disable-breakpad',
'--password-store=basic',
'--use-mock-keychain',
'--proxy-server=http://localhost:58342',
'--proxy-bypass-list=<-loopback>',
'--remote-debugging-port=58355',
'--load-extension=/Users/jennifer/Library/Application Support/Cypress/cy/production/browsers/chrome/interactive/CypressExtension,/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/extension/theme',
'--user-data-dir=/Users/jennifer/Library/Application Support/Cypress/cy/production/browsers/chrome/interactive',
'--disk-cache-dir=/Users/jennifer/Library/Application Support/Cypress/cy/production/browsers/chrome/interactive/CypressCache' ],
port: 58355 } +29ms
cypress:launcher launching browser { displayName: 'Chrome', family: 'chrome', isChosen: true, majorVersion: '77', name: 'chrome', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', version: '77.0.3865.120', isHeaded: true, isHeadless: false } to open about:blank +9s
cypress:launcher spawning browser { displayName: 'Chrome', family: 'chrome', isChosen: true, majorVersion: '77', name: 'chrome', path: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', version: '77.0.3865.120', isHeaded: true, isHeadless: false } with args about:blank --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-device-discovery-notifications --disable-infobars --autoplay-policy=no-user-gesture-required --disable-site-isolation-trials --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 --use-fake-ui-for-media-stream --use-fake-device-for-media-stream --disable-ipc-flooding-protection --disable-backgrounding-occluded-window --disable-breakpad --password-store=basic --use-mock-keychain --proxy-server=http://localhost:58342 --proxy-bypass-list=<-loopback> --remote-debugging-port=58355 --load-extension=/Users/jennifer/Library/Application Support/Cypress/cy/production/browsers/chrome/interactive/CypressExtension,/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/extension/theme --user-data-dir=/Users/jennifer/Library/Application Support/Cypress/cy/production/browsers/chrome/interactive --disk-cache-dir=/Users/jennifer/Library/Application Support/Cypress/cy/production/browsers/chrome/interactive/CypressCache +0ms
cypress:server:browsers:chrome connecting to Chrome remote interface at random port 58355 +9ms
cypress:server:protocol Getting WS connection to CRI on port 58355 +0ms
cypress:network:connect received error on connect, retrying { iteration: 0, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +8s
cypress:network:connect received error on connect, retrying { iteration: 1, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +106ms
cypress:network:connect received error on connect, retrying { iteration: 2, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +103ms
cypress:network:connect received error on connect, retrying { iteration: 3, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +107ms
cypress:network:connect received error on connect, retrying { iteration: 4, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +102ms
cypress:network:connect received error on connect, retrying { iteration: 5, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +103ms
cypress:network:connect received error on connect, retrying { iteration: 6, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +106ms
cypress:network:connect received error on connect, retrying { iteration: 7, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +108ms
cypress:network:connect received error on connect, retrying { iteration: 8, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +108ms
cypress:network:connect received error on connect, retrying { iteration: 9, delay: 100, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +107ms
cypress:network:connect received error on connect, retrying { iteration: 10, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +108ms
cypress:network:connect received error on connect, retrying { iteration: 11, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +504ms
cypress:server:events got request for event: get:project:status, { id: 'ma3dkn', path: '/Users/jennifer/Dev/cypress-documentation' } +2s
cypress:server:project get project status for ma3dkn /Users/jennifer/Dev/cypress-documentation +2s
cypress:server:file get values from /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +10s
cypress:server:file attempt to get lock on /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file gettin lock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +1ms
cypress:server:file read /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file read succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +1ms
cypress:server:file attempt to unlock /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:file unlock succeeded or failed for /Users/jennifer/Library/Application Support/Cypress/cy/production/cache +0ms
cypress:server:events send error: { Error: You're not logged in. Run `cypress open` to open the Desktop App and log in. at Object.get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11) at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/user.js:63:26 at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'NOT_LOGGED_IN', details: undefined, isApiError: true } +4ms
cypress:server:events sending ipc data { type: 'get:project:status', data: { id: 0.18226948692008982, __error: { type: 'NOT_LOGGED_IN', name: 'Error', stack: "Error: You're not logged in.\n\nRun `cypress open` to open the Desktop App and log in.\n at Object.get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11)\n at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/user.js:63:26\n at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)\n at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)\n at processImmediate (internal/timers.js:443:21)\n", message: "You're not logged in.\n\nRun `cypress open` to open the Desktop App and log in.", isCypressErr: true, details: undefined, isApiError: true } } } +0ms
cypress:network:connect received error on connect, retrying { iteration: 12, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +504ms
cypress:network:connect received error on connect, retrying { iteration: 13, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +506ms
cypress:network:connect received error on connect, retrying { iteration: 14, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +505ms
cypress:network:connect received error on connect, retrying { iteration: 15, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +504ms
cypress:network:connect received error on connect, retrying { iteration: 16, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +506ms
cypress:network:connect received error on connect, retrying { iteration: 17, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +505ms
cypress:network:connect retries exhausted, bubbling up error { iteration: 18, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +507ms
cypress:server:protocol failed to connect to CDP { port: 58355, err: { Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds. This usually indicates there was a problem opening the Chrome browser. The CDP port requested was 58355. Error details: Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) at get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11) at Object.throwErr [as throw] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:329:11) at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/browsers/protocol.js:32:17 at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18) at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'CDP_COULD_NOT_CONNECT', details: undefined } } +5s
cypress:server:events send error: { Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds. This usually indicates there was a problem opening the Chrome browser. The CDP port requested was 58355. Error details: Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) at get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11) at Object.throwErr [as throw] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:329:11) at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/browsers/protocol.js:32:17 at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18) at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'CDP_COULD_NOT_CONNECT', details: undefined } +4s
cypress:server:events sending ipc data { type: 'launch:browser', data: { id: 0.27702521270125113, __error: { type: 'CDP_COULD_NOT_CONNECT', name: 'Error', stack: 'Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.\n\nThis usually indicates there was a problem opening the Chrome browser.\n\nThe CDP port requested was \u001b[33m58355\u001b[39m.\n\nError details:\n\nError: connect ECONNREFUSED 127.0.0.1:58355\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)\n\n at get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11)\n at Object.throwErr [as throw] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:329:11)\n at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/browsers/protocol.js:32:17\n at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18)\n at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)\n at processImmediate (internal/timers.js:443:21)\n', message: 'Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.\n\nThis usually indicates there was a problem opening the Chrome browser.\n\nThe CDP port requested was <span class="ansi-yellow-fg">58355</span>.\n\nError details:\n\nError: connect ECONNREFUSED 127.0.0.1:58355\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)\n', isCypressErr: true, details: undefined } } } +1ms
cypress:server:events got request for event: get:project:status, { id: 'ma3dkn', path: '/Users/jennifer/Dev/cypress-documentation' } +6s
Specific logs at time of error toward the end:
cypress:network:connect received error on connect, retrying { iteration: 12, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +504ms
cypress:network:connect received error on connect, retrying { iteration: 13, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +506ms
cypress:network:connect received error on connect, retrying { iteration: 14, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +505ms
cypress:network:connect received error on connect, retrying { iteration: 15, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +504ms
cypress:network:connect received error on connect, retrying { iteration: 16, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +506ms
cypress:network:connect received error on connect, retrying { iteration: 17, delay: 500, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +505ms
cypress:network:connect retries exhausted, bubbling up error { iteration: 18, err: { Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 58355 } } +507ms
cypress:server:protocol failed to connect to CDP { port: 58355, err: { Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds. This usually indicates there was a problem opening the Chrome browser. The CDP port requested was 58355. Error details: Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) at get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11) at Object.throwErr [as throw] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:329:11) at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/browsers/protocol.js:32:17 at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18) at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'CDP_COULD_NOT_CONNECT', details: undefined } } +5s
cypress:server:events send error: { Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds. This usually indicates there was a problem opening the Chrome browser. The CDP port requested was 58355. Error details: Error: connect ECONNREFUSED 127.0.0.1:58355 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) at get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11) at Object.throwErr [as throw] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:329:11) at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/browsers/protocol.js:32:17 at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18) at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'CDP_COULD_NOT_CONNECT', details: undefined } +4s
cypress:server:events sending ipc data { type: 'launch:browser', data: { id: 0.27702521270125113, __error: { type: 'CDP_COULD_NOT_CONNECT', name: 'Error', stack: 'Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.\n\nThis usually indicates there was a problem opening the Chrome browser.\n\nThe CDP port requested was \u001b[33m58355\u001b[39m.\n\nError details:\n\nError: connect ECONNREFUSED 127.0.0.1:58355\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)\n\n at get (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:314:11)\n at Object.throwErr [as throw] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/errors.js:329:11)\n at /Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/lib/browsers/protocol.js:32:17\n at tryCatcher (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18)\n at _drainQueueStep (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues [as _onImmediate] (/Users/jennifer/Library/Caches/Cypress/3.5.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)\n at processImmediate (internal/timers.js:443:21)\n', message: 'Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.\n\nThis usually indicates there was a problem opening the Chrome browser.\n\nThe CDP port requested was <span class="ansi-yellow-fg">58355</span>.\n\nError details:\n\nError: connect ECONNREFUSED 127.0.0.1:58355\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)\n', isCypressErr: true, details: undefined } } } +1ms
cypress:server:events got request for event: get:project:status, { id: 'ma3dkn', path: '/Users/jennifer/Dev/cypress-documentation' } +6s
hi @jennifer-shehane Thank you for fast feedback.
I'm pretty sure that I have only one Cypress instance: there are no cypress processes in the Task Manager and just in case the all potential instances were killed by "taskkill /IM "Cypress.exe" /F" command before Cypress opening.
The detailed logs are available here:
https://gist.github.com/ovenal/868cd2a4284e60ad659754a46e40ba66
Can it shed light on this problem?
Also getting this, none of the tests are running because of this error
Error details:
Error: connect ECONNREFUSED 127.0.0.1:59288 at TCPConnectWrap.afterConnect [asoncomplete] (net.js:1061:14)
I am also seeing this error after upgrading to 3.5.0. I am only running one instance of Cypress.
I'm also seeing this, but only using Chrome. Electron seems to work.
I'm also seeing this with only one instance of Cypress. Affects Chrome and Electron.
@chris-conversa @FilepCsaba @jagregory What operating system are you using?
We are beginning to suspect that this may be happening for Windows only. Please let us know so we can further track this down.
We haven't been able to reproduce this having 1 Cypress process open.
Cypress will only wait for a maximum of 5 seconds for the Chrome browser to connect. @chris-conversa @FilepCsaba @jagregory Is it possible that your Chrome browser is taking more than 5 seconds to start up fully, from the time you launch your Cypress tests?
We're experiencing the same issue when running in GitHub Actions (ubuntu-latest
)
Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 34137.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:34137
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)
We use start-server-and-test
to test (only yields one Cypress instance).
@flotwig Thanks for the input! Digging through the source code it seems the timeout can not be configured. But if I see correctly our builds do sometimes pass, giving weight to the suspicion with Chrome not being available just in time.
Do you see a way to extend the timeout?
@flotwig in my case it takes about 2-3 seconds to start Chrome, so I believe that it isn't related with Chrome starting time.
I encountered this issue on Chrome, but Electron worked for me
I'm experiencing the same issue for chrome, but okay in Electron. Using Mac OS 10.14.6
I had this issue but I solved it. What happened to me was: I added my spec file after I already had opened Cypress. I closed Cypress and opened it again and then it worked with Chrome.
@chris-conversa @FilepCsaba @jagregory What operating system are you using?
We are beginning to suspect that this may be happening for Windows only. Please let us know so we can further track this down.
We haven't been able to reproduce this having 1 Cypress process open.
I've seen this error in a Linux container as well, using the cypress/included:3.5.0
image, so it's not just Windows or when running multiple Cypress processes.
Definitely not only Windows.
This is occurring in my CircleCI containers which are running the circleci/node:8-browsers
image, which is Debian GNU/Linux 9 (stretch)
.
My CI job just runs cypress run
so I don't see how I can have multiple Cypress instances running in the container.
It could be possible Chrome isn't starting up in 5 seconds, but I have no real control over the CircleCI environment. How would I measure the startup time?
For me on MacOs Catalina 10.15 (19A602)
I tried removing the command line arguments one by one and found that --proxy-server=http://localhost:58366
is what makes the rest of the arguments not matter. Not sure why that is.
> chrome.exe example.org ---proxy-server="localhost:80"
(invalid proxy command line) shows example.org
> chrome.exe example.org --proxy-server="localhost:80"
shows chrome default start page
This odd behaviour is displayed on Windows 10 on both Chrome Canary 80.0.3959.0 and Chrome Stable 78.0.3904.70. Upon testing the same thing on macOS (Chrome 78) it behaves correctly.
me too on 3.6.0 windows. just trying to get started with cypress... used the cypress.zip download because of proxy issues. is there a link for 3.4.1 cypress.zip until this issue is resolved?
Try adding this to
/etc/hosts
127.0.0.1 localhost
Same issue here: with 3.6 on docker linux container with chrome:
2019-11-04T18:27:38.924Z cypress:network:connect retries exhausted, bubbling up error { iteration: 18, err: { Error: connect ECONNREFUSED 127.0.0.1:37459 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 37459 } }
2019-11-04T18:27:38.926Z cypress:server:protocol failed to connect to CDP { port: 37459, err: { Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds. This usually indicates there was a problem opening the Chrome browser. The CDP port requested was 37459. Error details: Error: connect ECONNREFUSED 127.0.0.1:37459 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14) at get (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/lib/errors.js:314:11) at Object.throwErr [as throw] (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/lib/errors.js:329:11) at /root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:32:17 at tryCatcher (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18) at _drainQueueStep (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:443:21) isCypressErr: true, type: 'CDP_COULD_NOT_CONNECT', details: undefined } }
2019-11-04T18:27:38.927Z cypress:server:cypress exiting with err { Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 37459.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:37459
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)
at get (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/lib/errors.js:314:11)
at Object.throwErr [as throw] (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/lib/errors.js:329:11)
at /root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/lib/browsers/protocol.js:32:17
at tryCatcher (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18)
at _drainQueueStep (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/root/.cache/Cypress/3.6.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (internal/timers.js:443:21)
isCypressErr: true,
type: 'CDP_COULD_NOT_CONNECT',
details: undefined }
Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 37459.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:37459
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)
2019-11-04T18:27:38.927Z cypress:server:cypress about to exit with code 1
Recieved shutdown signal, shutting down now...
2019-11-04T18:27:38.953Z cypress:cli child event fired { event: 'exit', code: 1, signal: null }
2019-11-04T18:27:38.953Z cypress:cli Stopping Xvfb
The problem also arises on MacOS when: https://stackoverflow.com/questions/52502130/debugging-cypress-tests-in-visual-studio-code
Add to cypress/plugins/index.js
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
on('before:browser:launch', (browser = {}, args) => {
if (browser.name === 'chrome') {
args.push('--remote-debugging-port=19222')
// whatever you return here becomes the new args
return args
}
})
}
Now the Cypress TestRunner fails to connect to Chrome with the error:
Can't start server
Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 5 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 58314.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:58314 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)
@PiotrNestor thats just because you change the debug port in the startup arguments, cypress still expects the debug port to be whatever it set.
We are experiencing the same issue using Chrome 78 after the we updated Cypress from 3.4.1 to 3.6.0.
Versions
Windows 10 Pro Cypress 3.6.0 Chrome 78
The solution to this problem is to use Electron. We are using Electron 73 to run some test cases but not entire test suite (as we are using technologies in our application that are only supported in later Chrome versions).
@piksel yes fine, so how to tell cypress that the chrome debug port is now '19222' ?
@PiotrNestor I don't think you can, and besides, if both Cypress and VSCode tries to attach to the debugger simultaneously, things would start to be really messy. Your usage is probably not supported by Cypress and I think it will be really hard to get it to work with v3.5+
@PiotrNestor You can use the remote-debugging-port
option that Cypress adds for you.
Here is a function from cypress-log-to-output
that will take Chrome args
in any version of Cypress and either return the remote-debugging-port
, or modify the array to add one & return the created port:
function ensureRdpPort(args) {
const existing = args.find(arg => arg.slice(0, 23) === '--remote-debugging-port')
if (existing) {
return Number(existing.split('=')[1])
}
const port = 40000 + Math.round(Math.random() * 25000)
args.push(`--remote-debugging-port=${port}`)
return port
}
Do you see a way to extend the timeout?
@leomelzer I've created a PR to extend the timeout to 20 seconds, which is more reasonable. After the first 5 seconds, Cypress will begin logging retries: #5610
Hopefully this will fix this issue if it is indeed performance-related.
I'm also seeing this with only one instance of Cypress. Affects Chrome and Electron.
@jagregory I just noticed that you said this affects you in Electron? This should be a Chrome-only bug - this error will not be reached if you are running Electron. Verify that you're actually running in Electron. Running in Electron should fix your issue.
Hey everyone, we still haven't been able to reproduce this exactly as described - and are putting a patch to hopefully address some of the situations and add some more logging.
We need help narrowing down the situations that this happens in order to fix it.
cypress run
, cypress open
?Every indication is that this is localized to running within Chrome. This should never happen when running in Electron. So you can run your tests in Electron to avoid this.
cypress run
without the --browser
flag (this will run in Electron by default).cypress open
and select Electron 73
in the dropdown menu when opening your project.@piksel yes fine, so how to tell cypress that the chrome debug port is now '19222' ?
Have you tried setting this environment variable to your port? CYPRESS_REMOTE_DEBUGGING_PORT? https://github.com/cypress-io/cypress/blob/a3265ccdef91ef93bc831f9a73f0628ec4564d41/packages/server/lib/browsers/chrome.coffee#L97
We had the same issue because we where using an plugin that manually changed the --remote-debugging-port argument on browser startup. But cypress now provides an port number on startup and cannot connect to it if it is changed in an plugin https://github.com/cypress-io/cypress/blob/a3265ccdef91ef93bc831f9a73f0628ec4564d41/packages/server/lib/browsers/chrome.coffee#L279
- How did you download Cypress? (npm, yarn, direct)
Yarn 1.19.1 and 1.17.3
- How did you run Cypress?
cypress run
,cypress open
?
Same error for both commands.
- Where did you run Cypress? (locally, CI, container, OS)
Locally Win 10 x64 (v1803 and v1903)
- What version of Chrome were you running?
Same error for 3.5.0 and 3.6.0. (Version 3.4.0 works fine)
- What configuration is specific to your project that may be relevant?
{
animationDistanceThreshold: 5,
baseUrl: null,
blacklistHosts: null,
chromeWebSecurity: true,
defaultCommandTimeout: 10000,
env: {},
execTimeout: 60000,
fileServerFolder: '',
fixturesFolder: 'cypress/fixtures',
hosts: null,
ignoreTestFiles: '*.hot-update.js',
integrationFolder: 'cypress/integration',
modifyObstructiveCode: true,
nodeVersion: 'default',
numTestsKeptInMemory: 50,
pageLoadTimeout: 60000,
pluginsFile: 'cypress/plugins',
port: null,
projectId: '158cvi',
reporter: 'mocha-multi-reporters',
reporterOptions: {
configFile: 'reporter-config.json'},
requestTimeout: 5000,
responseTimeout: 30000,
screenshotsFolder: 'cypress/screenshots',
supportFile: 'cypress/support',
taskTimeout: 60000,
testFiles: '**/*.*',
trashAssetsBeforeRuns: true,
userAgent: null,
video: false,
videoCompression: 32,
videoUploadOnPasses: true,
videosFolder: 'cypress/videos',
viewportHeight: 660,
viewportWidth: 1000,
waitForAnimations: true,
watchForFileChanges: true}
- Any logs in [debug mode]
No logs are generated only:
[...]\node_modules\.bin\cypress run --browser chrome
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 3.6.0 │
│ Browser: Chrome 77 │
│ Specs: 11 found (BUG_166849.spec.ts, BUG_170319 │
│ itingVersionsIsNotSupportedYet.spec.ts, designer.spec.ts, PBI_174488.spec.ts │
│ , PBI_174491.spec.ts, PBI_182126 │
│ sv.spec.ts,...) │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: BUG_166849.spec.ts (1 of 11)
The automation client disconnected. Cannot continue running tests.
This only occures with '--browser chrome'. With electron the tests run fine.
Hi @jennifer-shehane,
We found what caused this issue on our side. The problem was in cypress-log-to-output plugin.
After we commented require('cypress-log-to-output').install(on)
line in index.js file (cypress\plugins), Cypress managed to connect to Chrome. 😊
Hi @jennifer-shehane,
We found what caused this issue on our side. The problem was in cypress-log-to-output plugin. After we commented
require('cypress-log-to-output').install(on)
line in index.js file (cypress\plugins), Cypress managed to connect to Chrome. 😊
Have you tried updating cypress-log-to-output to version 1.0.7? As @flotwig mentioned, they addressed this issue in an update 20 days ago for cypress version 3.5.0. Fixed the problem for us and cypress-log-to-output is also working again 😊
@PiotrNestor You can use the
remote-debugging-port
option that Cypress adds for you.Here is a function from
cypress-log-to-output
that will take Chromeargs
in any version of Cypress and either return theremote-debugging-port
, or modify the array to add one & return the created port:function ensureRdpPort(args) { const existing = args.find(arg => arg.slice(0, 23) === '--remote-debugging-port') if (existing) { return Number(existing.split('=')[1]) } const port = 40000 + Math.round(Math.random() * 25000) args.push(`--remote-debugging-port=${port}`) return port }
Ok I just found that we are also using
args.push('--remote-debugging-port=9222')
Hardcoded in the index.js plugin file, without that line the tests run fine again.
Thanks @MichaelAlt,
We updated cypress-log-to-output plugin to 1.0.7 version and it didn't cause Cypress-Chrome connection to fail.
So, the problem we had to make a connection to Chrome DevTools Protocol is caused by the older version of cypress-log-to-output plugin (1.0.4 in our case). ✔
Now we can run our test suite in Chrome (and also use cypress-log-to-output plugin).
I can confirm that the issues was caused by outdated version of cypress-log-to-output plugin (1.0.4), after updating it to 1.0.7 version the problem has gone.
The issue has been closed.
Thanks for the work and research! We are neither using cypress-log-to-output
nor use any means to modify --remote-debugging-port
. We'll test the increased timeout in our setup (GitHub Actions) once a new Cypress version was released. I'll update here afterwards.
@jennifer-shehane when is the new version (with the timeout mitigation) planned to be released
The update was released as part of 3.6.1, cc @ahmedkotb.
Just an update from our side: it really seems the increased timeout did the trick for running Cypress within GitHub Actions! 🎉
Mon, 11 Nov 2019 08:53:26 GMT tput: No value for $TERM and no -T specified
Mon, 11 Nov 2019 08:53:26 GMT ================================================================================
Mon, 11 Nov 2019 08:53:26 GMT
Mon, 11 Nov 2019 08:53:26 GMT (Run Starting)
Mon, 11 Nov 2019 08:53:26 GMT
Mon, 11 Nov 2019 08:53:26 GMT ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
Mon, 11 Nov 2019 08:53:26 GMT │ Cypress: 3.6.1 │
Mon, 11 Nov 2019 08:53:26 GMT │ Browser: Chrome 78 │
Mon, 11 Nov 2019 08:53:26 GMT │ Specs: 2 found (one.e2e.js, two.e2e.js) │
Mon, 11 Nov 2019 08:53:26 GMT └────────────────────────────────────────────────────────────────────────────────────────────────┘
Mon, 11 Nov 2019 08:53:26 GMT
Mon, 11 Nov 2019 08:53:26 GMT
Mon, 11 Nov 2019 08:53:26 GMT ────────────────────────────────────────────────────────────────────────────────────────────────────
Mon, 11 Nov 2019 08:53:26 GMT
Mon, 11 Nov 2019 08:53:26 GMT Running: one.e2e.js (1 of 2)
Mon, 11 Nov 2019 08:53:26 GMT Failed to connect to Chrome, retrying in 1 second (attempt 18/32)
Mon, 11 Nov 2019 08:53:31 GMT Failed to connect to Chrome, retrying in 1 second (attempt 19/32)
Mon, 11 Nov 2019 08:53:32 GMT
After that it'll happily run our testsuite. Hope it solves the problems others were experiencing, too. Thanks a lot @jennifer-shehane & @flotwig!
I was facing the same issue with 3.5.0, upgrading to 3.6.1 fixed it. Thanks.
I see this issue happening as well on version 3.6.1, but only when I disconnect from the internet - If I have an internet connection, everything works fine. When I don't have internet, I get the "about:blank" page as my test window.
@johnmollberg Are you on Windows?
@flotwig I'm on OSX 10.13.6
I have found that that if I run the command in package.json which is npm run test:e2e
and this(https://share.getcloudapp.com/E0uPp7e4) window has been opened and then not shut before I run the test:e2e command, I recieve an error, however If I close window when I am done (the window:https://share.getcloudapp.com/E0uPp7e4) then everything works as I would have assumed. https://share.getcloudapp.com/bLup9Dn8
also I am on mac 10.15.1
There are a lot of people receiving notifications on this thread and the original issue was fixed. If you are still experiencing this issue, please open a new issue and describe your problem fully so it can get the attention it deserves.
Current behavior:
After update to 3.5.0 Cypress can't connect to Chrome - Chrome is started, but only "about:blank" page is opened, Cypress TestRunner displays the following error:
Chrome version hasn't been changed, it correctly works with Cypress 3.4.1.
Desired behavior:
Cypress should manage Chrome as it was in 3.4.1 version.
Versions
Windows 10 Cypress 3.5.0 Chrome Version 77.0.3865.90 (Official Build) (64-bit)