Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Polymer 聚合物测试失败,出现“错误”;chrome未能最大化;_Polymer_Polymer 3.x_Js Test Driver - Fatal编程技术网

Polymer 聚合物测试失败,出现“错误”;chrome未能最大化;

Polymer 聚合物测试失败,出现“错误”;chrome未能最大化;,polymer,polymer-3.x,js-test-driver,Polymer,Polymer 3.x,Js Test Driver,我创建了一个聚合物3测试来测试一个元素。如果我在chrome中通过命令行运行测试,我会在测试失败前收到以下消息: chrome 71 Beginning tests via http://localhost:8081/components/@polymer/re/generated-index.html?cli_browser_id=0 chrome failed to maximize chrome 71 ✖ app/test/sea

我创建了一个聚合物3测试来测试一个元素。如果我在chrome中通过命令行运行测试,我会在测试失败前收到以下消息:

chrome 71                Beginning tests via http://localhost:8081/components/@polymer/re/generated-index.html?cli_browser_id=0
chrome failed to maximize
chrome 71                ✖ app/test/search-input_test.html

  Timed out loading http://localhost:8081/components/@polymer/re/app/test/search-input_test.html
    <unknown> at   <unknown> at /components/wct-browser-legacy/browser.js:733:0

chrome 71                Tests failed: 1 failed tests
Test run ended in failure: 1 failed tests

chrome 71 (0/0/1)
chrome 71通过http://localhost:8081/components/@polymer/re/generated index.html?cli\u browser\u id=0
chrome未能最大化
铬71✖ app/test/search-input_test.html
加载超时http://localhost:8081/components/@polymer/re/app/test/search-input_test.html
在at/components/wct browser legacy/browser.js:733:0
chrome 71测试失败:1个测试失败
测试运行以失败结束:1个测试失败
铬71(0/0/1)
在firefox中,我收到一个大JSON,消息属性中包含以下内容:

"message": newSession
        Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T15:15:08.936Z'
        System info: host: 'DESKTOP-HBA7M50', ip: '192.168.8.170', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_171'
        Driver info: driver.version: unknown
        remote stacktrace: WebDriverError@chrome://marionette/content/error.js:178:5 UnknownCommandError@chrome://marionette/content/error.js:472:5
        despatch@chrome://marionette/content/server.js:283:13
        execute@chrome://marionette/content/server.js:264:11
        onPacket/<@chrome://marionette/content/server.js:237:15
        onPacket@chrome://marionette/content/server.js:236:8
        _onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9",
 "error": "unknown error"
“消息”:新闻会话
构建信息:版本:“3.12.0”,修订版:“7c6e0b3”,时间:“2018-05-08T15:15:08.936Z”
系统信息:主机:'DESKTOP-HBA7M50',ip:'192.168.8.170',os.name:'Windows 10',os.arch:'x86',os.version:'10.0',java.version:'1.8.0_171'
驱动程序信息:驱动程序。版本:未知
远程堆栈跟踪:WebDriverError@chrome://木偶/content/error.js:178:5UnknownCommandError@chrome://木偶/content/error.js:472:5
despatch@chrome://木偶/content/server.js:283:13
execute@chrome://木偶/content/server.js:264:11
onPacket/