Provide console output if related. Use
--verbosemode for more details.
# Error: .wait() timed out after 1000msec
{
"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": []
}
Try waitForTimeout instead of waitTimeout - waitTimeout is the Nightmare way of doing it, but the Nightmare Helper way of doing it is waitForTimeout.
Most helpful comment
Try
waitForTimeoutinstead ofwaitTimeout-waitTimeoutis the Nightmare way of doing it, but the Nightmare Helper way of doing it iswaitForTimeout.