E2E量角器测试“未知错误”:调用函数结果缺少“值”

时间:2018-07-21 21:36:27

标签: node.js angular selenium protractor e2e-testing

angular-phonecatangular-seed中使用有角github提供的准系统示例,我无法从npm run protractor测试中获得成功的结果。

两者都出现相同的错误,但未更改代码库。 Failed: unknown error: call function result missing 'value'

Terminal output of npm run protractor

对于在角度种子项目中编写的所有3个测试,都会显示此消息。 我正在运行chrome 67(最新的Java版本),并安装了chromedriver 2.40,但测试针对v2.26。

found 15 vulnerabilities (11 low, 1 moderate, 3 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> angular-seed@0.0.0 update-webdriver /Users/bankzilla/Sites/angular-web
> webdriver-manager update

[14:18:21] I/update - chromedriver: file exists /Users/bankzilla/Sites/angular-web/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26mac64.zip
[14:18:21] I/update - chromedriver: unzipping chromedriver_2.26mac64.zip
[14:18:22] I/update - chromedriver: setting permissions to 0755 for /Users/bankzilla/Sites/angular-web/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26
[14:18:22] I/update - chromedriver: v2.26 up to date
[14:18:22] I/update - selenium standalone: file exists /Users/bankzilla/Sites/angular-web/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-2.53.1.jar
[14:18:22] I/update - selenium standalone: v2.53.1 up to date
[14:18:23] I/update - geckodriver: file exists /Users/bankzilla/Sites/angular-web/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1-macos.tar.gz
[14:18:23] I/update - geckodriver: unzipping geckodriver-v0.11.1-macos.tar.gz
[14:18:23] I/update - geckodriver: setting permissions to 0755 for /Users/bankzilla/Sites/angular-web/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1
[14:18:23] I/update - geckodriver: vv0.11.1 up to date

Following from this question尝试更新chromedriver礼物

Starting ChromeDriver 2.40.565386 (45a059dc425e08165f9a10324bd1380cc13ca363) on port 9515
Only local connections are allowed.

运行chromedriver --version时显示ChromeDriver 2.40.565386

0 个答案:

没有答案