These are chat archives for reactioncommerce/reaction
export MAIL_URL=to get the mail working on my end. reaction.json did not work for me. Only testing with the email sent out to the initial user.
@mikemurray please check out dukeondope/reaction-core@f68fb9d and dukeondope/reaction-core-theme@a205621
is there a better way to implement such kind of stuff?
or is there a chance to make it a default option for reaction in the future?
core/tests/jasmine/server/integration/methods.jsis probably the best one to look at for an example. No worries though, give me a few [days] and I’ll write some cart tests that we can use as a blueprint for writing some more, it might be a bit much too ask right now, but thinking it’s a good thing to start requesting - if nothing else, to see how easy it is for others. I’ve written up some testing docs https://github.com/reactioncommerce/reaction/blob/development/docs/developer/testing.md - let me know what you think I should add to help.. probably some examples to begin with?
(to run at the same time as your regular install, but on another port)
VELOCITY_TEST_PACKAGES=1 meteor test-packages --port 3006 reactioncommerce:core
VELOCITY_TEST_PACKAGES=1 meteor test-packages --driver-package velocity:html-reporter --port 3006 --velocity reactioncommerce:core
@kefirchik you could override the template instead of changing it in core. see https://github.com/reactioncommerce/reaction/blob/master/docs/developer/templates.md.
Otherwise, at the moment thats how you would do it. Override the theme and modify it to your needs.
Of course in the future I want to show the image / color of a variant. That whole product page is due for a overhaul.