How to debug ember-cli tests running in phantomjs

后端 未结 4 651
不知归路
不知归路 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:39

    In testem.json add "phantomjs_debug_port": 9000.

    While you run your tests visit http://localhost:9000 in your browser and click the long link that shows up.

    Source: cssugared

提交回复
热议问题