ember.js - How to debug ember-cli tests running in phantomjs -
Reference: I have an acceptable examination for my amber-CLI application, and the test passes properly in Chrome, however, In Phatakom, my exam fails - the UI has not been created in the same way, and why am I trying to work it (I think the reason for the test is broken, but how the debug is being saved? FAQ)
In Chrome, I can use the standard debugging tool at all and all are well - but in phaktom, I can not get it with debugger. I do not see the console. Log messages () - all I can do in my terminal window I give a list of the results of the test.
I can get the diagnosis information as things like
similar (true, false, "this is a log message"); And then I got the message that as a description of the failure, or I can try and what is in the DOM
equal ( True, false, document.Get ElementsBlossname ("Mary-Class" .innerHTML); But one of them: Prevent the test from proceeding, and B: Only information from me Log in to test yourself, not my application.
Is there any way to run my test outside of "Amber Test" Is there any way to attach or run test procedures? Alternatively, is there a way to get the console to log in (log) to show in the output?
You can unfold the PhantomJS debug port and open it browser then you can interact with the reference on your debugger breakpoint.