Giter VIP home page Giter VIP logo

meteor-mocha-phantomjs's Introduction

dispatch:mocha-phantomjs

No longer supported. Please use dispatch:mocha instead.

meteor-mocha-phantomjs's People

Contributors

aldeed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meteor-mocha-phantomjs's Issues

Unexpected reporting results for Server test failure

Placing the following in imports/api/lists/lists.tests.js, of the todos app, with all other tests passing,

it('knows the truth', function () {
  assert.isTrue(false);
});

and running meteor test --once --driver-package dispatch:mocha-phantomjs

returns 2 CLIENT FAILURES and 0 SERVER FAILURES. Expected the report to return 0 client failures and 1 server failure. Here is the output of the test run:

I20160420-14:57:09.809(-4)?
I20160420-14:57:09.810(-4)? --------------------------------
I20160420-14:57:09.811(-4)? ----- RUNNING SERVER TESTS -----
I20160420-14:57:09.811(-4)? --------------------------------
I20160420-14:57:09.811(-4)?
I20160420-14:57:09.811(-4)?
I20160420-14:57:09.812(-4)?
I20160420-14:57:09.812(-4)?   0 passing (0ms)
I20160420-14:57:09.812(-4)?
I20160420-14:57:09.812(-4)?
I20160420-14:57:09.813(-4)? --------------------------------
I20160420-14:57:09.813(-4)? ----- RUNNING CLIENT TESTS -----
I20160420-14:57:09.815(-4)? --------------------------------
=> Started your app.

=> App running at: http://localhost:3000/
I20160420-14:57:09.815(-4)?
I20160420-14:57:11.250(-4)?
I20160420-14:57:11.251(-4)?
I20160420-14:57:11.271(-4)?   Lists_show
I20160420-14:57:11.451(-4)? MochaRunner.runServerTests: Starting server side tests with run id jniQKyj7MjCZWsj4C
W20160420-14:57:12.380(-4)? (STDERR) MochaRunner.runServerTests: failures: 1
I20160420-14:57:41.418(-4)? All client and server tests finished!
I20160420-14:57:41.419(-4)?
I20160420-14:57:41.419(-4)? --------------------------------
I20160420-14:57:41.419(-4)? SERVER FAILURES: 0
I20160420-14:57:41.419(-4)? CLIENT FAILURES: 2
I20160420-14:57:41.419(-4)? --------------------------------

Before Each hook always fails

Hello,

So we've been experiencing an issue whenever we use a beforeEach hook in our Mocha tests. undefined is not an object (evaluating 'fn.call') is always returned when we attempt to use it. Running the Practicalmeteor web reporter it all works fine, so I'm curious if this is a known issue or how I could help in solving this issue as it is a blocking issue on our CI server tests (we prefer not using spacejam if at all possible).

Thanks,

Steve

TypeError: undefined is not an object

Details:

When I run this command: meteor test --once --driver-package dispatch:mocha-phantomjs from inside a grunt task it crashes and gives me some error msgs:

I20160722-12:41:18.897(-3)?
I20160722-12:41:18.897(-3)?   phantomjs://code/phantomjsScript.js:17
I20160722-12:41:18.898(-3)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160722-12:41:18.898(-3)?
I20160722-12:41:18.898(-3)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160722-12:41:18.899(-3)?     http://localhost:3000/packages/dispatch_mocha-browser.js?hash=798f2cf54719ffeb9613a1b5a0f0e06a53014621: 17
I20160722-12:41:18.899(-3)?
I20160722-12:41:18.899(-3)?   phantomjs://code/phantomjsScript.js:17
I20160722-12:41:18.900(-3)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160722-12:41:18.900(-3)?
I20160722-12:41:18.901(-3)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160722-12:41:18.901(-3)?     http://localhost:3000/packages/aldeed_simple-schema.js?hash=a36531b7660faa5522e7fade0b3f4daf5b4b6641: 20
I20160722-12:41:18.901(-3)?
I20160722-12:41:18.901(-3)?   phantomjs://code/phantomjsScript.js:17
I20160722-12:41:18.916(-3)? TypeError: undefined is not an object (evaluating 'Package['aldeed:simple-schema'].SimpleSchema')
I20160722-12:41:18.917(-3)?
I20160722-12:41:18.917(-3)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160722-12:41:18.917(-3)?     http://localhost:3000/packages/aldeed_collection2-core.js?hash=78aa4a4dfcd4f54f1b080164dd6ca648f9f16f75: 17
I20160722-12:41:18.918(-3)?
I20160722-12:41:18.918(-3)?   phantomjs://code/phantomjsScript.js:17
I20160722-12:41:18.918(-3)? TypeError: undefined is not an object (evaluating 'Package['aldeed:collection2-core'].Collection2')
I20160722-12:41:18.919(-3)?
I20160722-12:41:18.919(-3)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160722-12:41:18.919(-3)?     http://localhost:3000/packages/aldeed_schema-index.js?hash=da21b578f26d8a36d658a3af94517e1e4328eddb: 17

No client-side tests but 2 fail

I'm getting a bunch of typeErrors and 2 client side fails when using meteor test --once --driver-package dispatch:mocha-phantomjs but I have no client-side tests. Also, the command never terminates.

meteor test --once --driver-package practicalmeteor:mocha works fine so the problem seems to be isolated to mocha-phantomjs.

It is apparently something unique to my app triggering it because I ran the same test command on the todos app with the same meteor and package versions shown below and didn't encounter this problem, but I'm at a loss as to what or where to look.

Possibly pertinent versions include:

I20160624-20:47:10.546(-4)?                   
I20160624-20:47:10.580(-4)? --------------------------------
I20160624-20:47:10.582(-4)? ----- RUNNING SERVER TESTS -----
I20160624-20:47:10.582(-4)? --------------------------------
I20160624-20:47:10.582(-4)? 
I20160624-20:47:10.582(-4)? 
I20160624-20:47:10.582(-4)? 
I20160624-20:47:10.582(-4)?   groups
I20160624-20:47:10.582(-4)?     methods
I20160624-20:47:10.583(-4)?       insert
I20160624-20:47:10.583(-4)?         positive tests
=> Started your app.

=> App running at: http://localhost:3000/
I20160624-20:47:10.786(-4)? 
I20160624-20:47:10.787(-4)?           ✓ creates a good group (111ms)
I20160624-20:47:10.855(-4)? 
... <cut out a bunch of similar stuff here>
I20160624-20:47:12.481(-4)? 
I20160624-20:47:12.482(-4)?           ✓ denies removal of last administrator (43ms)
I20160624-20:47:12.482(-4)? 
I20160624-20:47:12.482(-4)? 
I20160624-20:47:12.483(-4)?   38 passing (2s)
I20160624-20:47:12.483(-4)?   1 pending
I20160624-20:47:12.483(-4)? 
I20160624-20:47:12.483(-4)? 
I20160624-20:47:12.483(-4)? --------------------------------
I20160624-20:47:12.483(-4)? ----- RUNNING CLIENT TESTS -----
I20160624-20:47:12.483(-4)? --------------------------------
I20160624-20:47:12.483(-4)? 
I20160624-20:47:12.484(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.484(-4)? 
I20160624-20:47:12.484(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.485(-4)?     http://localhost:3000/packages/es5-shim.js?hash=e4d68c9ebbcdbd230d16f4bd933ee8dbf2978a22: 17
I20160624-20:47:12.486(-4)? 
I20160624-20:47:12.487(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.488(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.488(-4)? 
I20160624-20:47:12.488(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.488(-4)?     http://localhost:3000/packages/promise.js?hash=2d5b025794b9c9e54e5cf6bea71c642ef921a2ed: 17
I20160624-20:47:12.488(-4)? 
I20160624-20:47:12.488(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.489(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.489(-4)? 
I20160624-20:47:12.489(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.489(-4)?     http://localhost:3000/packages/ecmascript-runtime.js?hash=e4dd2b138377d446dc7dc3af21bb5bcd4b2b88a3: 17
I20160624-20:47:12.489(-4)? 
I20160624-20:47:12.489(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.489(-4)? TypeError: undefined is not an object (evaluating 'Package['ecmascript-runtime'].Symbol')
I20160624-20:47:12.489(-4)? 
I20160624-20:47:12.489(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.489(-4)?     http://localhost:3000/packages/babel-compiler.js?hash=aa1ba23957a2a38a24bad15d8eb7dda850adb69a: 7
I20160624-20:47:12.490(-4)? 
I20160624-20:47:12.490(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.490(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.490(-4)? 
I20160624-20:47:12.490(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.490(-4)?     http://localhost:3000/packages/babel-runtime.js?hash=543034092ecef720d1732d8f72ab489f1877696f: 17
I20160624-20:47:12.490(-4)? 
I20160624-20:47:12.490(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.496(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.496(-4)? 
I20160624-20:47:12.496(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.496(-4)?     http://localhost:3000/packages/random.js?hash=c4879267bde8bbc5ba66d23fa420cb239c44fb68: 18
I20160624-20:47:12.496(-4)? 
I20160624-20:47:12.496(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.497(-4)? TypeError: undefined is not an object (evaluating 'Package.random.Random')
I20160624-20:47:12.497(-4)? 
I20160624-20:47:12.497(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.497(-4)?     http://localhost:3000/packages/mongo-id.js?hash=172813d0ff26d0175642f30557d9980b3d852a17: 19
I20160624-20:47:12.497(-4)? 
I20160624-20:47:12.497(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.497(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.497(-4)? 
I20160624-20:47:12.497(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.497(-4)?     http://localhost:3000/packages/geojson-utils.js?hash=7214728d388f610508afa2a208b6117470822707: 17
I20160624-20:47:12.498(-4)? 
I20160624-20:47:12.498(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.498(-4)? TypeError: undefined is not an object (evaluating 'Package['mongo-id'].MongoID')
I20160624-20:47:12.498(-4)? 
I20160624-20:47:12.498(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.498(-4)?     http://localhost:3000/packages/minimongo.js?hash=88217d643bc16fdf3505c6d4b2b8f5ddc400c49a: 23
I20160624-20:47:12.498(-4)? 
I20160624-20:47:12.498(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.498(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.498(-4)? 
I20160624-20:47:12.498(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.499(-4)?     http://localhost:3000/packages/check.js?hash=bf95dee84c2be9008274d2385c637659760b9057: 17
I20160624-20:47:12.499(-4)? 
I20160624-20:47:12.499(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.499(-4)? TypeError: undefined is not an object (evaluating 'Package.random.Random')
I20160624-20:47:12.499(-4)? 
I20160624-20:47:12.499(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.499(-4)?     http://localhost:3000/packages/retry.js?hash=91c22616ae67cee99080f81fae9e6083bf7c5711: 18
I20160624-20:47:12.499(-4)? 
I20160624-20:47:12.499(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.499(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.500(-4)? 
I20160624-20:47:12.500(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.500(-4)?     http://localhost:3000/packages/ddp-common.js?hash=a99cb35fd21daff658b592895ec8e2da5ee4c434: 17
I20160624-20:47:12.500(-4)? 
I20160624-20:47:12.500(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.501(-4)? TypeError: undefined is not an object (evaluating 'Package['ecmascript-runtime'].Symbol')
I20160624-20:47:12.501(-4)? 
I20160624-20:47:12.501(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.501(-4)?     http://localhost:3000/packages/reload.js?hash=ad99c3e418c3fdc4fd1e08796369bded98b26b3d: 18
I20160624-20:47:12.501(-4)? 
I20160624-20:47:12.501(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.501(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.501(-4)? 
I20160624-20:47:12.502(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.502(-4)?     http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7: 17
I20160624-20:47:12.502(-4)? 
I20160624-20:47:12.502(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.502(-4)? TypeError: undefined is not an object (evaluating 'Package['ddp-client'].DDP')
I20160624-20:47:12.502(-4)? 
I20160624-20:47:12.502(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.502(-4)?     http://localhost:3000/packages/ddp.js?hash=752b775e282ca59c21ca09b9cc61f5fffb9ea2a1: 7
I20160624-20:47:12.502(-4)? 
I20160624-20:47:12.502(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.502(-4)? TypeError: undefined is not an object (evaluating 'Package.minimongo.LocalCollection')
I20160624-20:47:12.503(-4)? 
I20160624-20:47:12.503(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.503(-4)?     http://localhost:3000/packages/allow-deny.js?hash=11ff6d1a797cb3d6608a96e8ab0bd82a4947ff49: 18
I20160624-20:47:12.503(-4)? 
I20160624-20:47:12.503(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.503(-4)? TypeError: undefined is not an object (evaluating 'Package['allow-deny'].AllowDeny')
I20160624-20:47:12.503(-4)? 
I20160624-20:47:12.503(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.503(-4)?     http://localhost:3000/packages/mongo.js?hash=4c6ab6b82bf423dbc0eb1e4fb8f736843b793ddd: 17
I20160624-20:47:12.503(-4)? 
I20160624-20:47:12.503(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.504(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.504(-4)? 
I20160624-20:47:12.504(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.504(-4)?     http://localhost:3000/packages/reactive-dict.js?hash=efe4d7acf43d54e77a8d1b428c7cc15f6e132898: 21
I20160624-20:47:12.504(-4)? 
I20160624-20:47:12.504(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.504(-4)? TypeError: undefined is not an object (evaluating 'Package['reactive-dict'].ReactiveDict')
I20160624-20:47:12.504(-4)? 
I20160624-20:47:12.504(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.504(-4)?     http://localhost:3000/packages/session.js?hash=9ac45190b217c0c6a6293b0769e5a83f9dc8c003: 18
I20160624-20:47:12.504(-4)? 
I20160624-20:47:12.505(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.505(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.505(-4)? 
I20160624-20:47:12.505(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.505(-4)?     http://localhost:3000/packages/jquery.js?hash=22a0055f59bd150c435c5aba34c7c59076b8bcd9: 17
I20160624-20:47:12.505(-4)? 
I20160624-20:47:12.505(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.505(-4)? TypeError: undefined is not an object (evaluating 'Package['reactive-dict'].ReactiveDict')
I20160624-20:47:12.505(-4)? 
I20160624-20:47:12.505(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.505(-4)?     http://localhost:3000/packages/kadira_flow-router.js?hash=09ea12875d3801955ee70797bf8e4a70feebc570: 20
I20160624-20:47:12.506(-4)? 
I20160624-20:47:12.506(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.506(-4)? TypeError: undefined is not an object (evaluating 'Package['mongo-id'].MongoID')
I20160624-20:47:12.506(-4)? 
I20160624-20:47:12.506(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.506(-4)?     http://localhost:3000/packages/observe-sequence.js?hash=550c39b36ab0e65194ea03cdc7ecbe99dcdd07f6: 19
I20160624-20:47:12.506(-4)? 
I20160624-20:47:12.506(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.506(-4)? TypeError: undefined is not an object (evaluating 'Package.jquery.$')
I20160624-20:47:12.506(-4)? 
I20160624-20:47:12.506(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.507(-4)?     http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea: 17
I20160624-20:47:12.507(-4)? 
I20160624-20:47:12.507(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.507(-4)? TypeError: undefined is not an object (evaluating 'Package.blaze.Blaze')
I20160624-20:47:12.507(-4)? 
I20160624-20:47:12.508(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.508(-4)?     http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5: 20
I20160624-20:47:12.508(-4)? 
I20160624-20:47:12.508(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.508(-4)? TypeError: undefined is not an object (evaluating 'Package.blaze.Blaze')
I20160624-20:47:12.508(-4)? 
I20160624-20:47:12.508(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.508(-4)?     http://localhost:3000/packages/templating.js?hash=f43427e80c4a8a93daf5ed094c8141a0ee19c804: 18
I20160624-20:47:12.508(-4)? 
I20160624-20:47:12.509(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.509(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.509(-4)? 
I20160624-20:47:12.509(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.509(-4)?     http://localhost:3000/packages/zimme_active-route.js?hash=eef5899b049cf07c5934903b338f3308a572cf27: 17
I20160624-20:47:12.509(-4)? 
I20160624-20:47:12.509(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.509(-4)? TypeError: undefined is not an object (evaluating 'Package.random.Random')
I20160624-20:47:12.510(-4)? 
I20160624-20:47:12.510(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.510(-4)?     http://localhost:3000/packages/localstorage.js?hash=0b3ae3298494da2289abab2377342a1054cfca0b: 17
I20160624-20:47:12.510(-4)? 
I20160624-20:47:12.510(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.510(-4)? TypeError: undefined is not an object (evaluating 'Package.random.Random')
I20160624-20:47:12.510(-4)? 
I20160624-20:47:12.510(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.510(-4)?     http://localhost:3000/packages/accounts-base.js?hash=3f6353a90da402397ef0b889e3812a40c0a71704: 20
I20160624-20:47:12.510(-4)? 
I20160624-20:47:12.510(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.510(-4)? TypeError: undefined is not an object (evaluating 'Package.random.Random')
I20160624-20:47:12.511(-4)? 
I20160624-20:47:12.511(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.511(-4)?     http://localhost:3000/packages/srp.js?hash=94d5df94b266ef008d0425c828f1715512e429ef: 17
I20160624-20:47:12.511(-4)? 
I20160624-20:47:12.511(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.511(-4)? TypeError: undefined is not an object (evaluating 'Package['accounts-base'].Accounts')
I20160624-20:47:12.511(-4)? 
I20160624-20:47:12.511(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.511(-4)?     http://localhost:3000/packages/accounts-password.js?hash=26c5712042d53cb92bed4571735603904d1ec8bd: 17
I20160624-20:47:12.511(-4)? 
I20160624-20:47:12.511(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.512(-4)? TypeError: undefined is not an object (evaluating 'Package['accounts-base'].Accounts')
I20160624-20:47:12.512(-4)? 
I20160624-20:47:12.512(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.512(-4)?     http://localhost:3000/packages/useraccounts_core.js?hash=7012276935817ce37e8eff40bf284912a2df8f53: 17
I20160624-20:47:12.512(-4)? 
I20160624-20:47:12.512(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.512(-4)? TypeError: undefined is not an object (evaluating 'Package.blaze.Blaze')
I20160624-20:47:12.512(-4)? 
I20160624-20:47:12.512(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.512(-4)?     http://localhost:3000/packages/kadira_blaze-layout.js?hash=493d22b2043f66d6b3694baa790b62a701aaec33: 17
I20160624-20:47:12.512(-4)? 
I20160624-20:47:12.513(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.513(-4)? TypeError: undefined is not an object (evaluating 'Package['ecmascript-runtime'].Symbol')
I20160624-20:47:12.513(-4)? 
I20160624-20:47:12.513(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.513(-4)?     http://localhost:3000/packages/softwarerero_accounts-t9n.js?hash=44df5d0a25a66b892314a1b84a5da25576e0fb50: 19
I20160624-20:47:12.513(-4)? 
I20160624-20:47:12.513(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.513(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.513(-4)? 
I20160624-20:47:12.513(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.513(-4)?     http://localhost:3000/packages/useraccounts_flow-routing.js?hash=b8cfe374b32e12a395cdac7ec35ff037d5c34e71: 17
I20160624-20:47:12.513(-4)? 
I20160624-20:47:12.514(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.514(-4)? TypeError: undefined is not an object (evaluating 'Package.templating.Template')
I20160624-20:47:12.514(-4)? 
I20160624-20:47:12.514(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.514(-4)?     http://localhost:3000/packages/useraccounts_unstyled.js?hash=547d44e879d73b9c4b3f01194060aa37e131aabd: 17
I20160624-20:47:12.514(-4)? 
I20160624-20:47:12.514(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.514(-4)? TypeError: undefined is not an object (evaluating 'Package.templating.Template')
I20160624-20:47:12.514(-4)? 
I20160624-20:47:12.514(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.514(-4)?     http://localhost:3000/packages/utilities_avatar.js?hash=eb514cb5e23bb2346c84b26ca139da6656b804ee: 17
I20160624-20:47:12.515(-4)? 
I20160624-20:47:12.515(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.515(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.515(-4)? 
I20160624-20:47:12.515(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.515(-4)?     http://localhost:3000/packages/aldeed_simple-schema.js?hash=a36531b7660faa5522e7fade0b3f4daf5b4b6641: 20
I20160624-20:47:12.515(-4)? 
I20160624-20:47:12.515(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.515(-4)? TypeError: undefined is not an object (evaluating 'Package['aldeed:simple-schema'].SimpleSchema')
I20160624-20:47:12.515(-4)? 
I20160624-20:47:12.515(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.516(-4)?     http://localhost:3000/packages/aldeed_collection2-core.js?hash=78aa4a4dfcd4f54f1b080164dd6ca648f9f16f75: 17
I20160624-20:47:12.516(-4)? 
I20160624-20:47:12.516(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.516(-4)? TypeError: undefined is not an object (evaluating 'Package['aldeed:collection2-core'].Collection2')
I20160624-20:47:12.516(-4)? 
I20160624-20:47:12.516(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.516(-4)?     http://localhost:3000/packages/aldeed_schema-index.js?hash=da21b578f26d8a36d658a3af94517e1e4328eddb: 17
I20160624-20:47:12.516(-4)? 
I20160624-20:47:12.516(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.517(-4)? TypeError: undefined is not an object (evaluating 'Package['aldeed:collection2-core'].Collection2')
I20160624-20:47:12.517(-4)? 
I20160624-20:47:12.517(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.517(-4)?     http://localhost:3000/packages/aldeed_schema-deny.js?hash=44955b65d156080d05a87e961fd692d65185e52b: 17
I20160624-20:47:12.517(-4)? 
I20160624-20:47:12.517(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.517(-4)? TypeError: undefined is not an object (evaluating 'Package['aldeed:collection2-core'].Collection2')
I20160624-20:47:12.517(-4)? 
I20160624-20:47:12.517(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.517(-4)?     http://localhost:3000/packages/aldeed_collection2.js?hash=5ec6fbe0b5398f1a92bcb85b39683807a681c0b1: 7
I20160624-20:47:12.517(-4)? 
I20160624-20:47:12.518(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.518(-4)? TypeError: undefined is not an object (evaluating 'Package.mongo.Mongo')
I20160624-20:47:12.518(-4)? 
I20160624-20:47:12.519(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.519(-4)?     http://localhost:3000/packages/dburles_collection-helpers.js?hash=cc6238423ea044218119084c04f6e10e824f2408: 18
I20160624-20:47:12.519(-4)? 
I20160624-20:47:12.519(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.519(-4)? TypeError: undefined is not an object (evaluating 'Package.mongo.Mongo')
I20160624-20:47:12.519(-4)? 
I20160624-20:47:12.519(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.519(-4)?     http://localhost:3000/packages/mquandalle_collection-mutations.js?hash=f5daf351a0602bcba4cbe86812c84ef1278e069f: 17
I20160624-20:47:12.519(-4)? 
I20160624-20:47:12.519(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.520(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.520(-4)? 
I20160624-20:47:12.520(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.520(-4)?     http://localhost:3000/packages/cottz_publish-relations.js?hash=8b3c3336ac314babceb6e40e7f6372f41cd690ad: 17
I20160624-20:47:12.520(-4)? 
I20160624-20:47:12.520(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.521(-4)? TypeError: undefined is not an object (evaluating 'Package.mongo.Mongo')
I20160624-20:47:12.521(-4)? 
I20160624-20:47:12.521(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.521(-4)?     http://localhost:3000/packages/matb33_collection-hooks.js?hash=b4fb31946b843c27a27119ed667cdfb53fd1d510: 17
I20160624-20:47:12.522(-4)? 
I20160624-20:47:12.522(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.522(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.522(-4)? 
I20160624-20:47:12.522(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.522(-4)?     http://localhost:3000/packages/arillo_flow-router-helpers.js?hash=ec9ac46c8e2f676aa461291920959a020f98eb93: 17
I20160624-20:47:12.523(-4)? 
I20160624-20:47:12.523(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.523(-4)? TypeError: undefined is not an object (evaluating 'Package.jquery.$')
I20160624-20:47:12.523(-4)? 
I20160624-20:47:12.523(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.523(-4)?     http://localhost:3000/packages/coursierprive_tether.js?hash=17c32fc80a9e55c0bd1394dd7c4b670bad3c79d0: 17
I20160624-20:47:12.523(-4)? 
I20160624-20:47:12.523(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.523(-4)? TypeError: undefined is not an object (evaluating 'Package.jquery.$')
I20160624-20:47:12.524(-4)? 
I20160624-20:47:12.524(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.524(-4)?     http://localhost:3000/packages/twbs_bootstrap.js?hash=f068e78f7c5fb7cfd5ffac7577060bad7e6c08f1: 17
I20160624-20:47:12.524(-4)? 
I20160624-20:47:12.524(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.524(-4)? TypeError: undefined is not an object (evaluating 'Package.session.Session')
I20160624-20:47:12.524(-4)? 
I20160624-20:47:12.524(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.524(-4)?     http://localhost:3000/packages/tap_i18n.js?hash=e6b02e8b2dd8d10b36659d5cba6333ae2d1c3be8: 22
I20160624-20:47:12.524(-4)? 
I20160624-20:47:12.525(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.525(-4)? TypeError: undefined is not an object (evaluating 'Package.blaze.Blaze')
I20160624-20:47:12.525(-4)? 
I20160624-20:47:12.525(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.525(-4)?     http://localhost:3000/packages/ui.js?hash=d0665bbf032532e2284f8843b30500babb10dd4d: 7
I20160624-20:47:12.525(-4)? 
I20160624-20:47:12.525(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.525(-4)? TypeError: undefined is not an object (evaluating 'Package.blaze.Blaze')
I20160624-20:47:12.525(-4)? 
I20160624-20:47:12.525(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.525(-4)?     http://localhost:3000/packages/raix_handlebar-helpers.js?hash=d4495494d785afb74c9d9e9d9ed76f895ef03f70: 17
I20160624-20:47:12.526(-4)? 
I20160624-20:47:12.526(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.526(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.526(-4)? 
I20160624-20:47:12.526(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.526(-4)?     http://localhost:3000/packages/mdg_validated-method.js?hash=97f6fd0879eece3a6df9b2b6ee43d0d96cbe6e74: 17
I20160624-20:47:12.526(-4)? 
I20160624-20:47:12.526(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.526(-4)? TypeError: undefined is not an object (evaluating 'Package.mongo.Mongo')
I20160624-20:47:12.526(-4)? 
I20160624-20:47:12.526(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.527(-4)?     http://localhost:3000/packages/xolvio_cleaner.js?hash=24ad985e6756002606b4afe3dcecbdcded52b303: 17
I20160624-20:47:12.527(-4)? 
I20160624-20:47:12.527(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.527(-4)? TypeError: undefined is not an object (evaluating 'Package['aldeed:simple-schema'].SimpleSchema')
I20160624-20:47:12.527(-4)? 
I20160624-20:47:12.527(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.527(-4)?     http://localhost:3000/packages/rlivingston_simple-schema-mixin.js?hash=d7ac43f2b250a0e07b1e0a166ec06db0413bb0d3: 17
I20160624-20:47:12.527(-4)? 
I20160624-20:47:12.527(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.527(-4)? TypeError: undefined is not an object (evaluating 'Package['mdg:validated-method'].ValidatedMethod')
I20160624-20:47:12.527(-4)? 
I20160624-20:47:12.527(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.528(-4)?     http://localhost:3000/packages/rlivingston_simply-validated-method.js?hash=9a41df087500f36e6c1490dc6a7f8d7058dd23e2: 17
I20160624-20:47:12.528(-4)? 
I20160624-20:47:12.528(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.528(-4)? TypeError: undefined is not an object (evaluating 'Package.templating.Template')
I20160624-20:47:12.528(-4)? 
I20160624-20:47:12.528(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.528(-4)?     http://localhost:3000/packages/meteortoys_toykit.js?hash=ce7befbeda52596e5dbc7bd1f0c1137ae7ce88c9: 17
I20160624-20:47:12.528(-4)? 
I20160624-20:47:12.528(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.528(-4)? TypeError: undefined is not an object (evaluating 'Package.templating.Template')
I20160624-20:47:12.528(-4)? 
I20160624-20:47:12.529(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.529(-4)?     http://localhost:3000/packages/msavin_mongol.js?hash=cf20c0f46ab44ddf9413cf9078a324ff0104cf8c: 17
I20160624-20:47:12.529(-4)? 
I20160624-20:47:12.529(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.529(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.529(-4)? 
I20160624-20:47:12.529(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.529(-4)?     http://localhost:3000/packages/practicalmeteor_mocha-core.js?hash=7005f838fdbcbc39c2b96bd08f49d548b21d9440: 17
I20160624-20:47:12.529(-4)? 
I20160624-20:47:12.529(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.529(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.530(-4)? 
I20160624-20:47:12.530(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.530(-4)?     http://localhost:3000/packages/dispatch_mocha-phantomjs.js?hash=0a4b98531e0c8e6d5eb7acb96f8e3202ac5e69ff: 17
I20160624-20:47:12.530(-4)? 
I20160624-20:47:12.530(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.530(-4)? TypeError: undefined is not an object (evaluating 'Package.jquery.$')
I20160624-20:47:12.530(-4)? 
I20160624-20:47:12.530(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.530(-4)?     http://localhost:3000/packages/tmeasday_test-reporter-helpers.js?hash=eff40c069227d810b2820a9b174f4fd737d2a3c8: 18
I20160624-20:47:12.530(-4)? 
I20160624-20:47:12.530(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.531(-4)? TypeError: undefined is not an object (evaluating 'Package.retry.Retry')
I20160624-20:47:12.531(-4)? 
I20160624-20:47:12.531(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.531(-4)?     http://localhost:3000/packages/autoupdate.js?hash=96236e059901937f5f6e64a2cc27f899a294ad73: 19
I20160624-20:47:12.531(-4)? 
I20160624-20:47:12.531(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.531(-4)? TypeError: undefined is not an object (evaluating 'Package['ecmascript-runtime'].Symbol')
I20160624-20:47:12.531(-4)? 
I20160624-20:47:12.531(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.531(-4)?     http://localhost:3000/packages/practicalmeteor_chai.js?hash=6b28977253ebb6bb7f7f7a1424069e030aa224e2: 7
I20160624-20:47:12.532(-4)? 
I20160624-20:47:12.532(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.532(-4)? TypeError: undefined is not an object (evaluating 'Package['practicalmeteor:chai'].chai')
I20160624-20:47:12.532(-4)? 
I20160624-20:47:12.532(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.532(-4)?     http://localhost:3000/packages/practicalmeteor_loglevel.js?hash=96cd6887e3b954341d356b2fb1373d3149d292c4: 17
I20160624-20:47:12.532(-4)? 
I20160624-20:47:12.532(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.532(-4)? TypeError: undefined is not an object (evaluating 'Package['practicalmeteor:chai'].chai')
I20160624-20:47:12.532(-4)? 
I20160624-20:47:12.532(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.533(-4)?     http://localhost:3000/packages/practicalmeteor_sinon.js?hash=d51f09b72f5e645e87a6101ca90a5e06f108616d: 7
I20160624-20:47:12.533(-4)? 
I20160624-20:47:12.533(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.533(-4)? TypeError: undefined is not an object (evaluating 'Package.reload.Reload')
I20160624-20:47:12.533(-4)? 
I20160624-20:47:12.533(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.533(-4)?     http://localhost:3000/packages/practicalmeteor_mocha.js?hash=48311d8d578694d27de704142d6093ebe2dc3fbe: 17
I20160624-20:47:12.533(-4)? 
I20160624-20:47:12.533(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.533(-4)? TypeError: undefined is not an object (evaluating 'Package.modules.meteorInstall')
I20160624-20:47:12.533(-4)? 
I20160624-20:47:12.533(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.534(-4)?     http://localhost:3000/packages/webapp.js?hash=b74e2292d6087dc6f77d86b7e71ac0d672b0fbe8: 18
I20160624-20:47:12.534(-4)? 
I20160624-20:47:12.534(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.534(-4)? TypeError: undefined is not an object (evaluating 'Package['ddp-client'].DDP')
I20160624-20:47:12.534(-4)? 
I20160624-20:47:12.534(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.534(-4)?     http://localhost:3000/packages/livedata.js?hash=e7fb2e783bc81b00b914c2e27966b7b6d3d081b6: 7
I20160624-20:47:12.534(-4)? 
I20160624-20:47:12.534(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.534(-4)? TypeError: undefined is not an object (evaluating 'Package.mongo.Mongo')
I20160624-20:47:12.534(-4)? 
I20160624-20:47:12.535(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.535(-4)?     http://localhost:3000/packages/global-imports.js?hash=b715e8c44f45805378b9eb6cbddabe2321ed224d: 3
I20160624-20:47:12.535(-4)? 
I20160624-20:47:12.535(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.535(-4)? ReferenceError: Can't find variable: meteorInstall
I20160624-20:47:12.535(-4)? 
I20160624-20:47:12.535(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.535(-4)?     http://localhost:3000/app/app.js?hash=de46d23dc7f68e2bca9e609cc438b6482ccec789: 1
I20160624-20:47:12.535(-4)? 
I20160624-20:47:12.535(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.535(-4)? TypeError: undefined is not an object (evaluating 'Package['accounts-base'].Accounts')
I20160624-20:47:12.536(-4)? 
I20160624-20:47:12.536(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.536(-4)?     http://localhost:3000/packages/service-configuration.js?hash=331fe144dc8f69e5e44f23dd74b9de74ed80c6f3: 17
I20160624-20:47:12.536(-4)? 
I20160624-20:47:12.536(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.536(-4)? TypeError: undefined is not an object (evaluating 'Package.check.check')
I20160624-20:47:12.536(-4)? 
I20160624-20:47:12.536(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.536(-4)?     http://localhost:3000/packages/mdg_validation-error.js?hash=51a46aaba26a0e523bb856b942a6c42de1d3e66e: 17
I20160624-20:47:12.536(-4)? 
I20160624-20:47:12.536(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.536(-4)? Error: Can't find test driver package: dispatch:mocha-phantomjs
I20160624-20:47:12.537(-4)? 
I20160624-20:47:12.537(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160624-20:47:12.537(-4)?     http://localhost:3000/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3: 1019
I20160624-20:47:12.537(-4)? 
I20160624-20:47:12.537(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.537(-4)?     http://localhost:3000/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3: 809
I20160624-20:47:12.537(-4)? 
I20160624-20:47:12.537(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:12.537(-4)?     http://localhost:3000/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3: 821
I20160624-20:47:12.537(-4)? 
I20160624-20:47:12.537(-4)?   phantomjs://code/phantomjsScript.js:17
I20160624-20:47:40.611(-4)? All client and server tests finished!
I20160624-20:47:40.611(-4)? 
I20160624-20:47:40.615(-4)? --------------------------------
I20160624-20:47:40.615(-4)? SERVER FAILURES: 0
I20160624-20:47:40.615(-4)? CLIENT FAILURES: 2
I20160624-20:47:40.615(-4)? --------------------------------

Error when running tests on windows machine

Hi there,

I encountered an error when executing tests on my machine:

1) Uncaught error outside test suite: Uncaught TypeError: Object [object Object] has no method 'execFile' at startPhantom (packages/dispatch:phantomjs-tests/server.js:20:37) at Object.start (packages/dispatch:mocha-phanto at nextSlot (packages/meteor/test_environment.js:34:1) at C:\Users\domi\AppData\Local\Temp\meteor-test -runu11zbs\.meteor\local\build\programs\server\boot.js:290:5

Is there any possibility to resolve that?

Thanks in advance.

Icereed

Phantom Version

Hey there,

So I've been trying to use DroneCI to build and test my project but I keep having an issue where I get the following result for the client tests:

--------------------------------
I20160427-03:57:18.141(0)? ----- RUNNING CLIENT TESTS -----
I20160427-03:57:18.142(0)? --------------------------------
I20160427-03:57:18.142(0)? 
I20160427-03:57:18.142(0)? /root/.meteor/packages/dispatch_phantomjs-tests/.0.0.4.chn5yb++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
I20160427-03:57:18.143(0)? All client and server tests finished!
I20160427-03:57:18.143(0)? 
I20160427-03:57:18.143(0)? --------------------------------
I20160427-03:57:18.144(0)? SERVER FAILURES: 0
I20160427-03:57:18.144(0)? CLIENT FAILURES: 127

To be clear, this works 100% on my MacBook Pro, only on my private DroneCI server do I get this error using cpuguy83/debian:jessie docker image as the base. Here is my full drone configuration:

clone:
  path: github.com/name/project

build:
  test:
    image: cpuguy83/debian:jessie
    commands:
      - apt-get update
      - apt-get install curl -y
      - curl https://install.meteor.com | /bin/sh
      - meteor npm install
      - meteor npm test

I'm not 100% sure what I'm doing wrong, if someone could point me in the proper direction it would be greatly appreciated.

Testing packages fails with: Error: Cannot find module 'mocha-jsdom'

I'm running meteor test-packages --once --driver-package dispatch:mocha-hpantomjs on a pretty simple package with some basic tests running on both client and server. Full error is:

=> Started MongoDB.                           
I20160408-10:03:57.022(-7)?                   
I20160408-10:03:57.023(-7)? --------------------------------
I20160408-10:03:57.024(-7)? ----- RUNNING SERVER TESTS -----
I20160408-10:03:57.024(-7)? --------------------------------
I20160408-10:03:57.024(-7)? 
I20160408-10:03:57.025(-7)? 
I20160408-10:03:57.025(-7)? 
I20160408-10:03:57.025(-7)?   0 passing (0ms)
I20160408-10:03:57.025(-7)? 
I20160408-10:03:57.025(-7)? 
I20160408-10:03:57.026(-7)? --------------------------------
I20160408-10:03:57.026(-7)? ----- RUNNING CLIENT TESTS -----
I20160408-10:03:57.026(-7)? --------------------------------
I20160408-10:03:57.026(-7)? 
=> Started your app.

=> App running at: http://localhost:3000/
I20160408-10:03:57.895(-7)? Error: Cannot find module 'mocha-jsdom'
I20160408-10:03:57.895(-7)? 
I20160408-10:03:57.895(-7)? 
I20160408-10:03:57.895(-7)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160408-10:03:57.895(-7)?     http://localhost:3000/packages/modules-runtime.js?hash=939c79dfda40f1a849312e224b12b3aa11452782: 417
I20160408-10:03:57.896(-7)? 
I20160408-10:03:57.896(-7)?   phantomjs://code/phantomjsScript.js:17
I20160408-10:03:57.896(-7)?     http://localhost:3000/packages/modules-runtime.js?hash=939c79dfda40f1a849312e224b12b3aa11452782: 98
I20160408-10:03:57.896(-7)? 
I20160408-10:03:57.896(-7)?   phantomjs://code/phantomjsScript.js:17
I20160408-10:03:57.896(-7)?     http://localhost:3000/packages/local-test_pathable-ui.js?hash=0c90ca283fec2250910bae934cd6389fa6d31d47: 34
I20160408-10:03:57.896(-7)? 
I20160408-10:03:57.896(-7)?   phantomjs://code/phantomjsScript.js:17
I20160408-10:03:57.897(-7)?     http://localhost:3000/packages/modules-runtime.js?hash=939c79dfda40f1a849312e224b12b3aa11452782: 158
I20160408-10:03:57.897(-7)? 
I20160408-10:03:57.897(-7)?   phantomjs://code/phantomjsScript.js:17
I20160408-10:03:57.897(-7)?     http://localhost:3000/packages/modules-runtime.js?hash=939c79dfda40f1a849312e224b12b3aa11452782: 92
I20160408-10:03:57.897(-7)? 
I20160408-10:03:57.898(-7)?   phantomjs://code/phantomjsScript.js:17
I20160408-10:03:57.898(-7)?     http://localhost:3000/packages/local-test_pathable-ui.js?hash=0c90ca283fec2250910bae934cd6389fa6d31d47: 22831
I20160408-10:03:57.898(-7)? 
I20160408-10:03:57.898(-7)?   phantomjs://code/phantomjsScript.js:17
I20160408-10:03:57.898(-7)? 
I20160408-10:03:57.914(-7)? %s%s  
I20160408-10:03:57.914(-7)? 
I20160408-10:03:57.914(-7)? %s%s    Profile class
I20160408-10:03:57.914(-7)? 
I20160408-10:03:57.914(-7)? %s%s      a valid Profile
I20160408-10:03:57.914(-7)? %s%s        full name
I20160408-10:03:57.915(-7)? 
I20160408-10:03:57.932(-7)? MochaRunner.runServerTests: Starting server side tests with run id 2FM5uwYvCrhp7fFd6
W20160408-10:03:58.048(-7)? (STDERR) MochaRunner.runServerTests: failures: 0
I20160408-10:04:27.986(-7)? All client and server tests finished!
I20160408-10:04:27.986(-7)? 
I20160408-10:04:27.986(-7)? --------------------------------
I20160408-10:04:27.986(-7)? SERVER FAILURES: 0
I20160408-10:04:27.986(-7)? CLIENT FAILURES: 2
I20160408-10:04:27.987(-7)? --------------------------------

Thank you!

should this work with meteor test-packages?

I'm trying to use this to run mocha unit tests in one of our packages. Instead of adding the dispatch:mocha-phantomjs package to the application, I've added an api.use(''dispatch:mocha-phantomjs') call in the package.js onTest() method of the package we're testing.

Then I invoke the tests like this:
meteor test-packages --once --driver-package=dispatch:mocha-phantomjs my:packagename

Should this work?

I am finding that some of my later tests work but the early ones fail as shown below.

I also noticed that if I have an api.use('practicalmeteor:mocha') in the same package.js onTest method then all the tests pass and I don't see these errors. So I am puzzled about whats going on here.

Here's the failing output (the project is at Meteor 1.4.1.2)
`[[[[[ Tests ]]]]]

=> Started proxy.
=> Started MongoDB.
=> A patch (Meteor 1.4.1.3) for your current release is available!
Update this project now with 'meteor update --patch'.
WARNING: The $display argument will be deprecated in future versions in favor of the display(){...} mixin.
Backtrace:
neat/settings/disable-warnings:11, in mixin -neat-warn
neat/grid/row:39, in mixin row
system/styles/_files.scss:30

WARNING: Resetting $display will be deprecated in future versions in favor of the display(){...} mixin.
Backtrace:
neat/settings/disable-warnings:11, in mixin -neat-warn
neat/grid/to-deprecate:64, in mixin reset-display
system/styles/_files.scss:33

W20161116-00:11:59.860(-6)? (STDERR) Debugger listening on port 47977
I20161116-00:12:01.664(-6)?
I20161116-00:12:01.664(-6)? --------------------------------
I20161116-00:12:01.665(-6)? ----- RUNNING SERVER TESTS -----
I20161116-00:12:01.665(-6)? --------------------------------
I20161116-00:12:01.665(-6)?
I20161116-00:12:01.666(-6)?
I20161116-00:12:01.666(-6)?
I20161116-00:12:01.666(-6)? 0 passing (1ms)
I20161116-00:12:01.666(-6)?
I20161116-00:12:01.666(-6)?
I20161116-00:12:01.666(-6)? --------------------------------
I20161116-00:12:01.667(-6)? ----- RUNNING CLIENT TESTS -----
I20161116-00:12:01.667(-6)? --------------------------------
I20161116-00:12:01.667(-6)?
=> Started your app.

=> App running at: http://localhost:3000/
I20161116-00:12:03.375(-6)? TypeError: undefined is not a constructor (evaluating 'sinon.stub()')
I20161116-00:12:03.376(-6)?
I20161116-00:12:03.376(-6)? phantomjs://code/phantomjsScript.js:15 in onError
I20161116-00:12:03.377(-6)? http://localhost:3000/packages/local-test_digi_urma-tlr.js?hash=983bd10c7d3c6c9fb3a67c2dab4faeeb90d88d7d: 3007
I20161116-00:12:03.377(-6)?
I20161116-00:12:03.377(-6)? phantomjs://code/phantomjsScript.js:17
I20161116-00:12:03.377(-6)? http://localhost:3000/packages/practicalmeteor_mocha-core.js?hash=7a234b5be14498eda862b0dcfc7a4702d75e1280: 599
I20161116-00:12:03.377(-6)?
I20161116-00:12:03.377(-6)? phantomjs://code/phantomjsScript.js:17
I20161116-00:12:03.378(-6)? http://localhost:3000/packages/local-test_digi_urma-tlr.js?hash=983bd10c7d3c6c9fb3a67c2dab4faeeb90d88d7d: 3006
I20161116-00:12:03.378(-6)?
I20161116-00:12:03.378(-6)? phantomjs://code/phantomjsScript.js:17
I20161116-00:12:03.378(-6)? http://localhost:3000/packages/modules-runtime.js?hash=ab7e8d32b6c7b5a5fa7ae1b65e8225c4f9e30223: 191
I20161116-00:12:03.378(-6)?
...
I20161116-00:12:03.383(-6)? phantomjs://code/phantomjsScript.js:17
I20161116-00:12:03.399(-6)? 1..12
I20161116-00:12:03.478(-6)? ok 1 Cellular Config (Wizard) tests should render cellular config fields
I20161116-00:12:03.530(-6)? ok 2 Cellular Config (Wizard) tests should change provider,APN values based on country and provider
I20161116-00:12:03.588(-6)? ok 3 Cellular Config (Wizard) tests show custom APN when country or provider is other and also when apn value is custom else hide it
I20161116-00:12:03.621(-6)? ok 4 Cellular Config (Wizard) tests when provider is verizon, apn should have value null and custom and also no advanced options available
I20161116-00:12:03.669(-6)? ok 5 Cellular Config (Wizard) tests show/hide username, password when advanced is clicked
I20161116-00:12:03.686(-6)? ok 6 Cellular Connection Polling(Wizard) tests should render cellular results components
I20161116-00:12:03.687(-6)? ok 7 Cellular Connection Polling(Wizard) tests when cellular state has some values missing should display empty for those
I20161116-00:12:03.691(-6)? ok 8 Cellular Retry Dialog (Wizard) tests should render cellular retry dialog components
I20161116-00:12:03.695(-6)? ok 9 Cellular Retry Dialog (Wizard) tests should render timeout message/Retry when timed out
I20161116-00:12:03.701(-6)? ok 10 Cellular Retry Dialog (Wizard) tests should call onClose function when cancel button is clicked
I20161116-00:12:03.712(-6)? ok 11 Cellular Retry Dialog (Wizard) tests should reset timers when retry button is clicked
I20161116-00:12:03.714(-6)? ok 12 Cellular Retry Dialog (Wizard) tests if cellular connection is made/ if there is a ip_address onsucess func should be called
I20161116-00:12:03.714(-6)? # tests 12
I20161116-00:12:03.714(-6)? # pass 12
I20161116-00:12:03.715(-6)? # fail 0
I20161116-00:12:06.072(-6)? All client and server tests finished!
I20161116-00:12:06.072(-6)?
I20161116-00:12:06.073(-6)? --------------------------------
I20161116-00:12:06.073(-6)? SERVER FAILURES: 0
I20161116-00:12:06.073(-6)? CLIENT FAILURES: 0
I20161116-00:12:06.074(-6)? --------------------------------
`

Error: Missing reporter to run tests

Readme says the default is spec – do I need to install that along with dispatch:mocha-phantomjs? Via atmo or npm?

> meteor test --once --driver-package dispatch:mocha-phantomjs

[[[[[ Tests ]]]]]                             

=> Started proxy.                             
=> Started MongoDB.                           
I20160509-20:55:14.591(-4)?                   
I20160509-20:55:14.592(-4)? --------------------------------
=> Started your app.

=> App running at: http://localhost:3000/
I20160509-20:55:14.672(-4)? ----- RUNNING SERVER TESTS -----
I20160509-20:55:14.672(-4)? --------------------------------
I20160509-20:55:14.672(-4)? 
I20160509-20:55:14.672(-4)? 
I20160509-20:55:14.673(-4)? 
I20160509-20:55:14.673(-4)?   0 passing (0ms)
I20160509-20:55:14.673(-4)? 
I20160509-20:55:14.674(-4)? 
I20160509-20:55:14.674(-4)? --------------------------------
I20160509-20:55:14.674(-4)? ----- RUNNING CLIENT TESTS -----
I20160509-20:55:14.674(-4)? --------------------------------
I20160509-20:55:14.675(-4)? 
I20160509-20:55:14.675(-4)? Kadira: completed instrumenting the app
I20160509-20:55:14.675(-4)? Beginning DB Migrations
I20160509-20:55:14.675(-4)?   No expand migrations found
I20160509-20:55:16.922(-4)? 
I20160509-20:55:16.922(-4)? 
I20160509-20:55:16.934(-4)? Missing analyticsSettings in Meteor.settings.public
I20160509-20:55:16.951(-4)?   appointmentCard

I20160509-20:55:16.965(-4)?     ✓ renders correctly with simple data
I20160509-20:55:16.965(-4)? 
I20160509-20:55:16.966(-4)? 
I20160509-20:55:16.966(-4)?   1 passing (46ms)
I20160509-20:55:16.966(-4)? 
I20160509-20:55:16.975(-4)? stdout: 
I20160509-20:55:16.981(-4)? MochaRunner.runServerTests: Starting server side tests with run id 6hnmwHR7cdaPacfRF
W20160509-20:55:16.986(-4)? (STDERR) MochaRunner.runServerTests: failures: 0
I20160509-20:55:16.989(-4)? ClientServerReporter.constructor: Missing reporter to run tests. Use MochaRunner.setReporter(reporter) to set one.
I20160509-20:55:16.989(-4)? 
I20160509-20:55:16.989(-4)?   phantomjs://code/phantomjsScript.js:15 in onError
I20160509-20:55:16.989(-4)?     http://localhost:3000/packages/dispatch_mocha-phantomjs.js?hash=318f1fcf37511159af525b2afea1c3c2a6ad0fbf: 256
I20160509-20:55:16.989(-4)? 
I20160509-20:55:16.989(-4)?   phantomjs://code/phantomjsScript.js:17
I20160509-20:55:19.713(-4)? All client and server tests finished!
I20160509-20:55:19.713(-4)? 
I20160509-20:55:19.713(-4)? --------------------------------
I20160509-20:55:19.713(-4)? SERVER FAILURES: 0
I20160509-20:55:19.713(-4)? CLIENT FAILURES: 0
I20160509-20:55:19.714(-4)? --------------------------------

server.js Error: Meteor code must always run within a Fiber

Hi our tests is passing using practicalmeteor:mocha, but trying to run them on our CI (jenkins) its failing with errors when it finishes running the tests:

[email protected]

dispatch:[email protected]
dispatch:[email protected]
dispatch:[email protected]
dispatch:[email protected]

=> Started your app.

=> App running at: http://localhost:3000/
I20160601-23:40:48.415(0)? 
I20160601-23:40:48.605(0)? 
I20160601-23:40:48.606(0)?   12 passing (5s)
I20160601-23:40:48.607(0)? 
I20160601-23:40:48.608(0)? 
I20160601-23:40:48.608(0)? --------------------------------
I20160601-23:40:48.609(0)? ----- RUNNING CLIENT TESTS -----
I20160601-23:40:48.616(0)? --------------------------------
I20160601-23:40:48.616(0)? 
I20160601-23:40:51.475(0)? 
I20160601-23:40:51.476(0)? 
I20160601-23:40:51.476(0)?   0 passing (1ms)
I20160601-23:40:51.477(0)? 
I20160601-23:40:51.808(0)? All client and server tests finished!
I20160601-23:40:51.808(0)? 
I20160601-23:40:51.812(0)? --------------------------------
I20160601-23:40:51.813(0)? SERVER FAILURES: 0
I20160601-23:40:51.814(0)? CLIENT FAILURES: 0
I20160601-23:40:51.824(0)? --------------------------------
W20160601-23:40:51.825(0)? (STDERR) 
W20160601-23:40:51.826(0)? (STDERR) /opt/tools/jenkins/workspace/Test-Job-Mocha/.tmp/meteor-test-run1uxurwr/.meteor/local/build/programs/server/packages/meteor.js:1060
W20160601-23:40:51.826(0)? (STDERR)     throw new Error("Meteor code must always run within a Fiber. " +
W20160601-23:40:51.826(0)? (STDERR)           ^
W20160601-23:40:51.837(0)? (STDERR) Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
W20160601-23:40:51.837(0)? (STDERR)     at Object.Meteor._nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9:1)
W20160601-23:40:51.838(0)? (STDERR)     at [object Object]._.extend.get (packages/meteor/dynamics_nodejs.js:21:1)
W20160601-23:40:51.838(0)? (STDERR)     at Object.Meteor.isRestricted (packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:137:1)
W20160601-23:40:51.839(0)? (STDERR)     at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/dispatch_run-as-user/packages/dispatch_run-as-user.js:268:1)
W20160601-23:40:51.840(0)? (STDERR)     at Object.UserPresence.removeConnectionsByInstanceId (packages/konecty_user-presence/packages/konecty_user-presence.js:88:1)
W20160601-23:40:51.840(0)? (STDERR)     at process.<anonymous> (packages/konecty_user-presence/packages/konecty_user-presence.js:223:1)
W20160601-23:40:51.841(0)? (STDERR)     at process.emit (events.js:117:20)
W20160601-23:40:51.841(0)? (STDERR)     at process.exit (node.js:750:17)
W20160601-23:40:51.842(0)? (STDERR)     at exitIfDone (packages/dispatch:mocha-phantomjs/server.js:60:17)
W20160601-23:40:51.842(0)? (STDERR)     at ChildProcess.done (packages/dispatch:mocha-phantomjs/server.js:89:7)

Tests do not run on Windows, exits quietly

Hi

When I try to run tests with this driver on Windows none actually get run and it just exits quietly. When I try to run it without the --once flag I get the below error.

I did have the practicalmeteor:mocha package installed but I removed it since it conflicts with this. But still sadly no luck.

Through further testing I've discovered it works find on Linux. It's only on Windows where it seems to be a problem. Is there any logs or something I could look at to shed more light perhaps?

W20160509-11:05:19.577(1)? (STDERR) TypeError: Cannot call method 'push' of undefined
W20160509-11:05:19.577(1)? (STDERR)     at meteorInstall.node_modules.meteor.dispatch:mocha-core.node_modules.mocha.lib.mocha.js (node_modules/meteor/dispatch:mocha-core/node_modules/mocha/lib/mocha.js:28:1)
W20160509-11:05:19.577(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
W20160509-11:05:19.577(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
W20160509-11:05:19.577(1)? (STDERR)     at meteorInstall.node_modules.meteor.dispatch:mocha-core.node_modules.mocha.index.js (node_modules/meteor/dispatch:mocha-core/node_modules/mocha/index.js:3:1)
W20160509-11:05:19.577(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
W20160509-11:05:19.577(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
W20160509-11:05:19.577(1)? (STDERR)     at meteorInstall.node_modules.meteor.dispatch:mocha-core.server.js (packages/dispatch:mocha-core/server.js:1:1)
W20160509-11:05:19.577(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
W20160509-11:05:19.577(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
W20160509-11:05:19.577(1)? (STDERR)     at node_modules/meteor/dispatch:mocha-core/node_modules/mocha/node_modules/growl/lib/growl.js:234:1

[CI] [API-Testing] - GET returns mocha empty page instead of expected JSON

We are using meteor-mocha-phantomjs for our unit-tests and this package has been perfect to most of our needs. We are now unit-testing a REST API done with Meteor and simple:rest. POST requests are handled correctly but GET requests fail because instead of getting our tested server, it gets a blank page titled "mocha" with various js includes within it (which is I believe some sort of default browser reporter).
I know you can define CLIENT_TEST_REPORTER to set different browser reporters but what can I can do to unset it completely so my GET requests are correctly handled.

Edit: Just to avoid any questions, the same unit-tests querying a regular localhost server work perfectly.

many blank 'stdout:' messages in console

When running my tests, I see a lot of console output containing blank stdout output that looks like this:

0913-10:22:26.663(-4)?   TestGroup
I20160913-10:22:26.663(-4)?     ✓ specific test (108ms)
I20160913-10:22:26.663(-4)? stdout:

I20160913-10:22:26.664(-4)? stdout:

I20160913-10:22:26.664(-4)? stdout:

I20160913-10:22:26.664(-4)? stdout:

I20160913-10:22:26.664(-4)? stdout:

I20160913-10:22:26.665(-4)? stdout:

I20160913-10:22:26.665(-4)? stdout:

I20160913-10:22:26.665(-4)? stdout:
I20160913-10:22:26.666(-4)?     ✓ another test (126ms)
I20160913-10:22:26.667(-4)? stdout:
...

Any ideas how I can squash this output?

Watch mode doesn't rerun tests on changes to client.

When running tests with the script:
TEST_WATCH=1 meteor test --driver-package dispatch:mocha-phantomjs

When I update client tests, the tests don't run again automatically as they do when changing server test code. Updating client-side app code does rerun the tests, however.

Syntax error: Unterminated quoted string

I20161228-14:01:18.696(2)? --------------------------------
I20161228-14:01:18.697(2)? ----- RUNNING CLIENT TESTS -----
I20161228-14:01:18.697(2)? --------------------------------
I20161228-14:01:18.697(2)?
I20161228-14:01:18.698(2)? /home/theodor/.meteor/packages/dispatch_phantomjs-tests/.0.0.7.16dh36t++os+web.browser+web.cordova/npm/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /home/theodor/.meteor/packages/dispatch_phantomjs-tests/.0.0.7.16dh36t++os+web.browser+web.cordova/npm/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
I20161228-14:01:18.698(2)? All client and server tests finished!

Weird, it worked flawlessly before. investigating.

Process prematurely exiting

We are using v0.1.8 because we get the unterminated string problem with 0.1.9. After running tests we get this output:

I20161208-11:34:44.176(-8)?   585 passing (2m)
I20161208-11:34:44.176(-8)?   275 failing

.... list of failed tests + stack traces ....

But the list of failed tests stop at #12, and the process exits prematurely without an error code. This has caused our CI to incorrectly report our suite as passing when it has failures.

Also noticing a lot of these messages:

Received error from server:  Parse error

watch mode does not rerun tests

I'm running Meteor 1.4 with dispatch:mocha-phantomjs 0.1.7. When running my tests with the command

TEST_WATCH=1 meteor test --driver-package dispatch:mocha-phantomjs

my tests run once. The process then hangs, and the tests are never executed again, even after modifying the test code. Not sure if I'm doing something wrong, or if there is an issue with watch mode.

runner isn't exiting with 1 or 0 properly after run on Circle

Hi there,
Decided to give the latest unit testing a spin on Circle CI, and got everything launched and running; however, it seems the reporter isn't exiting with a 1 or 0. And it just sits there.............

screen shot 2016-09-01 at 2 22 08 pm

My .circle.yml file is as follows:

machine:
  # Add some environment variables
  environment:
    CIRCLE_ENV: test
    CXX: g++-4.8
    DISPLAY: :99.0
    NPM_PREFIX: /home/ubuntu/nvm/v0.10.33
    INITIALIZE: true
    METEOR_OFFLINE_CATALOG: true
    NODE_ENV: development

## Customize dependencies
dependencies:
  cache_directories:
    - "~/.meteor" # relative to the user's home directory

  pre:
    - mkdir -p ${HOME}/.meteor
    - if [ ! -e ${HOME}/.meteor/meteor ]; then curl https://install.meteor.com | /bin/sh; else echo "Meteor seems to be cached"; fi;
    - sudo ln -s $HOME/.meteor/meteor /usr/bin/meteor

## Customize test commands
test:
  pre:
    - meteor update --release [email protected]
    - sleep 60
    - meteor --version
    - meteor npm install
    - "meteor run":
          background: true
    - sleep 180
  override:
    - meteor npm run-script phantom-mocha

And my package.json file contains the following script:

{
  "name": "fhir-demo",
  "version": "1.0.0",
  "scripts": {
    "phantom-mocha": "meteor test --once --driver-package dispatch:mocha-phantomjs --port 3030",
  }
}

If anybody points me in the right direction, I'll be happy to make a fix and submit a pull request.

Why are my standard server-tests killed when adding this?

Hi guys,

I noticed that when adding this to my app via meteor add dispatch:mocha-phantomjs running a standard meteor test --driver-package practicalmeteor:mocha --port 3100; STOPS showing my server-tests - WITHOUT ANY ERRORS/WARNINGS in the console. When removing this package they show up again.

Any ideas whats going on here?

*.app-test.* under imports not being run

Hi guys - it looks like .app-test. files under imports aren't run when using this driver in full app testing mode. I've created a quick repro showing the issue here. Is this expected behaviour? Thanks!

Error adding on project

Hello, I've been trying to add this package into my project and had no success.
Every command or other package works without any warning or problem, but when i run meteor add dispatch:mocha-phantomjs i receive the following message

/home/user/.meteor/packages/meteor-tool/.1.4.1_2.354htk++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/isopackets/ddp/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:165
      throw error;
      ^

Error: ENOENT: no such file or directory, open '/tmp/mt-1pguf0u/os.linux.x86_64.json'
    at Error (native)

I've searched before about this error message but their solution of setting meteor warehouse url on /etc/hosts did not work for me.
any ideas?

I'm so sorry if this is not the correct place to post this kind of post

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.