我正在尝试使用此图像 cimg/node
在 CircleCI 中运行集成测试,但出现此错误:
[12:58:19] I/direct - Using ChromeDriver directly...
[12:58:19] E/launcher - session not created: This version of ChromeDriver only supports Chrome
version 91
Current browser version is 78.0.3904.70
(Driver info: chromedriver=91.0.4472.19
[12:58:19] E/launcher - SessionNotCreatedError: session not created: This version of
ChromeDriver only supports Chrome version 91
Current browser version is 78.0.3904.70
我的 yml
是这样的:
jobs:
unit_test: ...
integration_test:
working_directory: ~/myproject
docker:
- image: circleci/node:10.16.3-browsers
steps:
- test_command
- run:
name: Unit test
command: npm run e2e -- --protractor-config=e2e/protractor-ci.conf.js
- store_test_results:
path: ~/results
build: ...
publish: ...
我认为错误是我需要更高版本的 Chrome,但我不知道如何安装该版本。
有谁知道我能做些什么来解决这个问题?
你!