Current behavior:
After update of cypress from 1.4.2 to 2.1.0 browser never connected in headless mode.
Console output
(Tests Starting)
Timed out waiting for the browser to connect. Retrying...
Timed out waiting for the browser to connect. Retrying again...
The browser never connected. Something is wrong. The tests cannot run. Aborting...
(Tests Finished)
Steps to reproduce:
removed folders:
node_modules
cypress
removed @ types/cypress from package.json
changed cypress version in package.json from 1.4.2 to 2.1.0
Then installed dependencies and started tests in default headless mode
npm install
cypress run
Versions
OS: Windows 10 / macOS High Sierra v 10.13.4
Cypress: 2.1.0
same behavior on Windows and macOS
package.json
"devDependencies": {
"@ bahmutov/add-typescript-to-cypress": "2.0.0",
"@ types/chai": "4.1.1",
"@ types/chai-as-promised": "7.1.0",
"@ types/mocha": "2.2.48",
"@ types/node": "9.3.0",
"chai": "4.1.2",
"chai-as-promised": "7.1.1",
"cypress": "2.1.0",
"dotenv-safe": "5.0.1",
"mocha": "5.0.5",
"mochawesome": "3.0.2",
"tslint": "5.9.1",
"typescript": "2.8.1"
}
cypress.json
{
"integrationFolder": "dist/specs",
"reporter": "mochawesome"
}
Current behavior:
After update of cypress from 1.4.2 to 2.1.0 browser never connected in headless mode.
Console output
Steps to reproduce:
removed folders:
node_modules
cypress
removed @ types/cypress from package.json
changed cypress version in package.json from 1.4.2 to 2.1.0
Then installed dependencies and started tests in default headless mode
npm install
cypress run
Versions
OS: Windows 10 / macOS High Sierra v 10.13.4
Cypress: 2.1.0
same behavior on Windows and macOS
package.json
cypress.json
{ "integrationFolder": "dist/specs", "reporter": "mochawesome" }