npm test (to run the test cases)
all test cases launch a blank browser and then timed out. I am guessing this is because I am behind a proxy.
I see the following error in all tests
× Before # features\support\hooks.js:46
Error: function timed out, ensure the promise resolves within 20000 milliseconds
at Timeout._onTimeout (C:\Users\A418097\Desktop\TestCafe\github\testCafeBDD\testcafe-cucumber\node_modules\cucumber\src\user_code_runner.js:61:18)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
and then this error as well
× After # features\support\hooks.js:60
ReferenceError: testController is not defined
at Object.exports.addErrorToController (C:\Users\A418097\Desktop\TestCafe\github\testCafeBDD\testcafe-cucumber\features\support\errorHandling.js:5:5)
at CustomWorld.<anonymous> (C:\Users\A418097\Desktop\TestCafe\github\testCafeBDD\testcafe-cucumber\features\support\hooks.js:65:23)
I am able to run testCafe cases without cucumber and I do that by adding this line to my package.json
I cloned this repo and did the following steps
and then this error as well
I am able to run testCafe cases without cucumber and I do that by adding this line to my package.json
I am guessing this is the problem why the tests timeout. Could someone point me in the right direction.