Protractor in STS IDE -> Could not find update-config.json

后端 未结 8 481
我寻月下人不归
我寻月下人不归 2020-12-09 08:06

Currently I have Protractor v.5.1.1, Node.js v.6.10.0

All protractor tests work in window console but when I try to run them from STS IDE I get below error. Of cours

8条回答
  •  猫巷女王i
    2020-12-09 08:37

    On MacOS, I resolved this error by adding the seleniumAddress to my Protractor config file (I was previously using directConnect, so commented that out):

    // directConnect: true,
    // baseUrl: 'http://localhost:4000/',
    seleniumAddress: 'http://localhost:4444/wd/hub/',
    

    I now start Protractor server by running: $ webdriver-manager start

    And in a different terminal window, I start tests with: $ ng e2e

提交回复
热议问题