I ran into this issue because we have some code that renders things differently depending on if the user is on a small width browser or not (mobile generally). The tests worked in non-ci mode but failed in phantomjs style testing.
I fixed my tests to be less brittle but would have been awesome to just configure the viewportSize in the yml file :)
It would be awesome if the PhantomJS viewportSize could be configurable: http://phantomjs.org/api/webpage/property/viewport-size.html
I ran into this issue because we have some code that renders things differently depending on if the user is on a small width browser or not (mobile generally). The tests worked in non-ci mode but failed in phantomjs style testing.
I fixed my tests to be less brittle but would have been awesome to just configure the viewportSize in the yml file :)