Leaflet/spec/suites
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
..
control Make sure L.Control.removeLayer() doesn't raise an error if a layer not in the control is removed from it (#4487) 2016-04-22 16:11:22 +02:00
core L.Evented.listens() returns false on removed event handlers, #4474 (#4476) 2016-07-01 11:14:22 +02:00
dom enforce indentation in specs 2015-09-25 13:55:37 +03:00
geo Merge pull request #4369 from Leaflet/use-mean-earth-radius 2016-04-02 15:51:40 +02:00
geometry create points from objects with x and y properties (#4465) 2016-04-20 17:05:31 +02:00
layer Allow to make screenshots in Phantomjs (#4705) 2016-07-08 11:05:12 +02:00
map Allow to make screenshots in Phantomjs (#4705) 2016-07-08 11:05:12 +02:00
SpecHelper.js Allow to make screenshots in Phantomjs (#4705) 2016-07-08 11:05:12 +02:00