Commit Graph

15 Commits

Author SHA1 Message Date
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
Iván Sánchez Ortega
8da61993d2 Added four prosthetic-hand tests, checking mouse&touch drag events and touch-zoom 2016-03-18 15:24:42 +01:00
Yohan Boniface
00b97f3b01 Remove browserNoActivityTimeout from karma config 2015-03-07 23:12:15 +01:00
Yohan Boniface
196040b795 Attempt to fix random PhantomJS DISCONNECTED errors on Travis 2015-03-07 12:45:41 +01:00
Tom MacWright
dc573b768a Add safari and firefox launchers 2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
2b96ea5aba make Leaflet.js requirable for version, remove noConflict test
Currently tests don’t account for wrapper function around Leaflet
source, so the noConflict one failed — removing for now.
2013-12-26 18:29:46 +02:00
Vladimir Agafonkin
28b26498c6 fix coverage reporting 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
0d249e34c6 add chrome launcher to karma config 2013-11-10 13:08:48 +02:00
Vladimir Agafonkin
f04527b308 update karma config to work on version 0.10 2013-09-12 13:13:49 +03:00
Vladimir Agafonkin
f91d2d82da update happen and references to it to fix build, hello @tmcw 2013-09-09 11:47:09 +03:00
John Firebaugh
1b7977a259 Manage happen.js with npm and upgrade it 2013-06-28 14:44:10 -04:00
Vladimir Agafonkin
6009d4ae87 move phantomjs check for touch into Leaflet
to allow standalone mocha-phantomjs usage on the browser reporter
2013-04-05 12:32:19 +03:00
John Firebaugh
a950e6873e Manage mocha dependency with npm; update to 1.9.0 2013-04-03 15:20:15 -07:00
Tom MacWright
a2f7d7e834 Use mocha 2013-04-03 14:50:09 -07:00
John Firebaugh
28daa9e9b1 testacular -> karma 2013-04-03 14:12:51 -07:00