Leaflet/spec/suites/map
Yohan Boniface 5dfc3364d1 Allow to make screenshots in Phantomjs (#4705)
* Load CSS in PhantomJS

* Allow to take screenshot in PhantomJS while running tests

For that, one need to run this call:

    window.top.callPhantom({'render': 'screenshot.png'});

* Make PhantomJS serve images

* Bonus: those tests now passe in Phantom too

* Add helper to make screenshot in tests

	takeScreenshot();

or

	takeScreenshot('path/to/screenshot.png');
2016-07-08 11:05:12 +02:00
..
handler Ignore events if Draggable is disabled, fixing disabling drag on click in IE11 (#4479) 2016-06-27 16:16:03 -07:00
MapSpec.js Allow to make screenshots in Phantomjs (#4705) 2016-07-08 11:05:12 +02:00