当我进行测试时一切顺利。它告诉我所有测试都没问题,但之后,它永远不会单独结束。它告诉我
Test run ended with great success
chrome 62 (269/0/0)
hook: cleanup
chrome 62 CALL title()
chrome 62 GET /session/:sessionID/title
chrome 62 CALL title()
chrome 62 GET /session/:sessionID/title
chrome 62 CALL title()
我不确定地CALL title()
和GET /session/:sessionID/title
,直到我手动停止测试。问题是当我推送到服务器并且我无法手动停止它因此测试没有通过。
在chrome 56中,我没有这个问题。
我的问题是,如何解决这个问题或如何回到chrome 56?
安装chrome我正在使用此命令:
set -xe && wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && apt-get update -yqqq && apt-get install -qq -y google-chrome-stable
非常感谢!
答案 0 :(得分:1)
我解决了我的问题。我正在使用此命令来运行我的测试:
polymer test
但是使用web-component-tester
,如果我使用
wct
完美无缺!