相关疑难解决方法(0)

找不到getTestability的元素参数的注入器

我正在尝试针对我自己的AngularJS代码运行本教程.我无法通过第一次测试.任何从我的页面提取任何信息的尝试都会收到此错误:

     Error: Error while waiting for Protractor to sync with the page: "[ng:test] no injector found for element argument to getTestability\nhttp://errors.angularjs.org/1.3.8/ng/test"
   Stacktrace:
     Error: Error while waiting for Protractor to sync with the page: "[ng:test] no injector found for element argument to getTestability\nhttp://errors.angularjs.org/1.3.8/ng/test"
    at Error (<anonymous>)
==== async task ====

Protractor.waitForAngular()
==== async task ====
Asynchronous test function: it()
Run Code Online (Sandbox Code Playgroud)

Does anyone have a Protractor tutorial that shows you how to target your own code, rather than someone else's code? …

jasmine angularjs protractor

14
推荐指数
2
解决办法
9493
查看次数

标签 统计

angularjs ×1

jasmine ×1

protractor ×1