我试图运行我的测试无头和碎片两个我的测试套件并行运行它们。在我的本地机器上,它们并行运行,但是在这个无头的设置中,它们一个接一个地运行。我正在使用网络驱动程序和量角器的码头图像。无头量角器不分片测试
我正在使用webnicer-massractor泊坞窗图像:https://hub.docker.com/r/webnicer/protractor-headless/ 并使用elgalu/selenium作为网络驱动程序。
我,我跑conf.js看起来是这样的:真实谷歌Chrome浏览器
exports.config = {
//Headless
//seleniumAddress: 'http://localhost:4444/wd/hub',
seleniumAddress: 'http://localhost:24444/wd/hub',
capabilities: {
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 2
},
specs: ['Suites/AccountSettingsSuite.js', 'Suites/CloneDashboardSuite.js']
}
你这个随时随地?我有同样的问题 –