rquellh / testcafe-cucumber

Integration of TestCafe and CucumberJS
MIT License
95 stars 59 forks source link

running test cases behind a proxy #23

Open skullz03 opened 5 years ago

skullz03 commented 5 years ago

I cloned this repo and did the following steps

 × 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

 "scripts": {
    "test": "testcafe chrome Tests/ -e --proxy https.proxy.domain.com:8000"
  },

I am guessing this is the problem why the tests timeout. Could someone point me in the right direction.