-
-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OFN without spree_backend 🎉 #4621
OFN without spree_backend 🎉 #4621
Conversation
a69035d
to
5f3e947
Compare
2776489
to
94e418f
Compare
14d0922
to
21b110d
Compare
82805bc
to
2cd5421
Compare
e48e2fd
to
b66b1a6
Compare
b66b1a6
to
e5c9468
Compare
…ile in spree_backend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! 🚀
It all makes sense. No logic change. The real burden is really on testers. Now I wish we had automated visual testing.
Just as an idea. Could we override visit
in all feature specs to save a screenshot. Run it on master then run it on the pr and do a diff of all the images? Maybe too much work...
This looks promising: https://github.com/gabrielrotbart/gatling |
@luisramos0 this is what I see when I try to add a new image through the product edit page. From build page, everything is ok If there is already an image, clicking the new image button, just makes the button disappear 🙈 This is not happening in production. Also on the test:
I didn't see how to change a country's state? I don't think it is possible through the UI? Not that you can have the same state to one country: Full testing notes: https://docs.google.com/document/d/1WtsRAmGHKRbBLLDTRH4cj5My4-C0AfTM5jTp9EEagVY/edit# After your answers I will still have to run a couple of sanity test and we should be good to go. |
…orrectly Testing the file upload would be a bit more complicated
hello @RachL thanks a lot for testing all this!!!! Re iamges, it was a little bug, I fixed it and added a spec to verify this "new image" page loads correctly. We are not yet testing the image upload itself though. EDITED: Re states, when I write "and then change to another country" I mean to change the page to another country on the top selector so that you can edit the states of another country. |
I redeployed and tested in FR staging, the images issue is now fixed 👍 |
great! |
What? Why?
What a wonderful PR! It makes you dream of future PRs "OFN without Spree" or even "OFN on rails 6". We can do it 💪
Closes #4595 and #4050.
We remove spree_backend and make final adaptations to our code to make it possible.
Dear reviewer: I think you can review just the final changes without going through the commit history, I think it's readable :-)
What should we test?
The bad news about this PR... we need to test every single corner of the backoffice...
I'd say we need to go through all the test steps of most PRs in both epics: #4595 and #4050.
I have gone through them all and I made a summary here as a task list (please follow the test steps in each of these PRs):
Configuration:
Other stuff:
Release notes
Changelog Category: Changed
OFN is now independent of spree_backend 🎉