Closed rjsmith closed 9 years ago
:+1:
Is this fixed yet? I decided to teach myself how to test a Meteor app today and have been pulling my hair out for the last hour trying to figure out why the html reporter widget isn't showing up in the top right corner of my app :(
I am running Meteor 1.1.0.2 and velocity:html-reporter@0.5.0
doing it right now!
Awesome, thanks! Also, I just downgraded to 1.1.0.1 and then 1.1 and it still does not work... Do you think that I might have done something to mess it up? All I have done is install sanjo:jasmine and the velocity reporter and add one test. The test output shows up in the console if I use the console reporter.
no, I did! You can downgrade the reporter to 4.3 that should do it
After just trying a few different commands I'm not sure I know how to downgrade a specific package... How would I downgrade the reporter to 4.3?
in your .meteor/packages file, set velocity:html-reporter@0.4.3
I tried that earlier with no luck and just tried again... No dice. Here is the link to my apps repo if you have time to take a look https://github.com/ryanswapp/vurvy
Do you see an html-reporter error in the web console (e.g Chrome Dev Tools)?
No error, the DOM element is simply not added in 0.5.0. Could be problem in html-reporter template helper logic that determines if widget should be shown?
The issue is that this call is returning 404
Meteor.call('velocity/isEnabled', function(error, result){
Session.set('velocity.isEnabled', result);
});
I think the current version of velocity does not have that method, but I got fooled into thinking it existed as it was on the develop branch.
A quick fix would be to set this session var in your app somewhere:
Session.set('velocity.isEnabled', true);
So we just increase the minimum required version of velocity:core in html-reporter?
just released html-reporter 0.5.1, this should work with old velocity versions.
Tested with the reproduce from @rjsmith. Works.
Upgrading
velocity:html-reporter
package to@0.5.0
causes the Velocity widget to disappear from the application UI.This can be replicated in an existing app and on a brand - new meteor project:
Navigate to app at localhost:3000 The Velocity target is missing
.meteor/versions: