View Full Version : extjs phantomjs maven integration

4 Feb 2014, 4:06 AM
I want to call phantomjs exe from my pom so we can have this in our CI environment. Secha says we can use this

phantomjs run-jasmine.js http://localhost/app/run-tests.html
I would like to be able to call this from my pom. I found a post here that says you can do this


Sencha You will need to run the tests from a web server because XHR's cannot be made from the file:// protocol. Of course our CI is not running a webserver so not sure if the above would work
was wondering if someone had a better way. Also what does XHR mean.

I think the phantom maven plugin with exe goal might work but need confirmation if i am going the right route