Codeceptjs: Bug: Set nightmare timeouts in config file

Created on 28 Jun 2017  路  1Comment  路  Source: codeceptjs/CodeceptJS

Provide console output if related. Use --verbose mode for more details.

# Error: .wait() timed out after 1000msec

Details

  • CodeceptJS version: v0.6.3
  • NodeJS Version: v7.10.0
  • Operating System: Linux
  • Nightmare Configuration file:
{
  "name": "foo",
  "tests": "src/**/*.e2e.js",
  "timeout": 300000,
  "output": "build",
  "helpers": {
    "Nightmare": {
      "url": "https://localhost:8080",
      "waitTimeout": 300000,
      "show": true,
      "restart": false
    }
  },
  "teardown": null,
  "hooks": []
}

Most helpful comment

Try waitForTimeout instead of waitTimeout - waitTimeout is the Nightmare way of doing it, but the Nightmare Helper way of doing it is waitForTimeout.

>All comments

Try waitForTimeout instead of waitTimeout - waitTimeout is the Nightmare way of doing it, but the Nightmare Helper way of doing it is waitForTimeout.

Was this page helpful?
0 / 5 - 0 ratings