How to debug ember-cli tests running in phantomjs

后端 未结 4 631
不知归路
不知归路 2021-02-01 17:55

Context: I have an acceptance test for my ember-cli application, and the test passes just fine in Chrome. However, in phantomjs, my test fails -- the UI doesn\'t get created the

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 18:43

    You can expose PhantomJS debug port and open it in browser then you can interact with context at your debugger breakpoints.

    Debugging tests on PhantomJS using Testem test runner

提交回复
热议问题