端到端测试在IE中失败但在Chrome中传递

时间:2013-05-28 17:52:10

标签: angularjs

我正在使用Github intro to Karma中指定的端到端测试。我能够在Chrome中运行指向我的localhost'/test/runner.html'的runner.html并且所有测试都成功运行。但是当我在IE10中运行相同的测试时,所有测试都失败并出现以下错误

  

为65μs

     

浏览器导航到'../../app/index.html'TypeError:对象没有   在匿名函数支持属性或方法'resumeBootstrap'   (/test/lib/angular-scenario.js:26240:11)at   发送(/test/lib/angular-scenario.js:3063:6)
  在eventHandle   (/test/lib/angular-scenario.js:2681:5)

是否因为IE的限制?
感谢

1 个答案:

答案 0 :(得分:2)

这可能有所帮助,同样的解决方法也在其中指定,如果你愿意,你也可以更多地挖掘它。 1.1.4 scenario runner does not work in IE (8 -> 10)