-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Remove organization_name
from base URL
#4331
Conversation
Following change in route
organization_name
from base URL - Part 1: routes and controllersorganization_name
from base URL - Part 1: routes and controllers
Now that URLs don't require organization names are prefix
organization_name
from base URL - Part 1: routes and controllersorganization_name
from base URL
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.
Overall this looks good - congratulations, I don't think I've ever reviewed a PR this big before! 😂 Had a few nits.
@cielf how do we want to proceed with this? I don't think we need a full test of every possible page, but I think we'll need some sanity click-around testing?
Some of the system tests are failing though. |
We definitely need some manual testing -- what we really are testing for is whether the pages come up, though, right? We don't have to be looking in detail on every page. It shouldn't take too long. But I'n going to wait until the nits are addressed. |
Tests for |
If stuff is failing on CI and not locally and vice versa I usually try running |
Nits are all addressed! Unfortunately there are now a bunch of conflicts with @elasticspoon 's work. I was kind of worried this would happen, but I'm pretty sure the conflicts should all be pretty straightforward to fix. Maybe merging master will also fix the failing tests? |
Some tests are still failing - I'm looking into it. @elasticspoon actually the tests also fail locally, but when I try to reproduce the steps that the tests use it works in the browser. |
What is happening is when the line item is getting created its also creating a storage location that ends up empty which fails the test. It on this line: https://github.com/jp524/human-essentials/blob/e67744a8d27592005931d51609cb8e1fb851fa4b/spec/events/inventory_aggregate_spec.rb#L702 If you do it like this https://github.com/jp524/human-essentials/blob/e67744a8d27592005931d51609cb8e1fb851fa4b/spec/events/inventory_aggregate_spec.rb#L648 i believe it should work. |
Thank you @elasticspoon! Now ready for final review. |
Cool! I'll slot in doing some testing over the next couple of days. |
I did some light manual testing - and didn't find anything broken. @dorner? |
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.
Looks good to me! 🎉 @cielf any reason to wait on the merge?
@jp524 sorry, I ended up making a similar fix to the one you did for something else and now you have a conflict to resolve. |
I don't know of any reason not to merge once the conflict is resolved. |
No worries! I just merged main. |
This is good to go! Thanks so much! |
@jp524: Your PR |
Resolves #4240
Description
Refer to #4324 for original PR that is now organized into logical and smaller commits.
Type of change
/admin
namespace (see Discussion section for Removeorganization_name
from base URL #4324 )How Has This Been Tested?
Tests files have been updated accordingly.