jasmine / jasmine-gem

Jasmine ruby gem
682 stars 274 forks source link

Feature Request: Configurable PhantomJS viewportSize #226

Closed spilliton closed 10 years ago

spilliton commented 10 years ago

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 :)

spilliton commented 10 years ago

:+1: