upcoming: [M3-7131] - Add AGLB Configuration Edit Tests & General Bug Fixes#9941
Conversation
There was a problem hiding this comment.
🎉 for tests and all the clean up and bug fixes you did!
✅ load-balancer-configurations.spec.ts passes locally and in CI; it covers error handling
✅ No regressions in testing the AGLB configuration flow in the UI - I can create, update, and delete a configuration
✅ The "Save Configuration" button is disabled if no changes have been made and enabled once they have
✅ The "Reset" button appears once an existing configuration is edited, and if clicked, it clears the edits to the form
❓ The exception to the above seems to be if a rule is added or edited to an existing route. This isn't a change that can be reset.
✅ Rules are creatable
✅ Only downstream certificates are shown configuring a Configuration
I'm approving this since all of the above are looking good and the other things I'll mention are minor. In testing, I did notice
- ❓ The API returns an error if a rule is created or edited to not have any service targets, though our UI allows a user to delete service targets even if there is just one listed. Do we want to continue to allow that or disable the ability to remove a service target in that case?
- A console error caused by the beta chip in the create flow. If you want to fix it here as a "general bug fix" or punt it to another PR of small bug fixes and clean up, either will work. (Maybe it better fits with #9849 changes, I don't know. 🤷🏼 )
...s/manager/src/features/LoadBalancers/LoadBalancerDetail/Configurations/ConfigurationForm.tsx
Show resolved
Hide resolved
|
Observation on validation behavior on Configuration label. Is this expected ? Config_label_validation.mov |
| label: 'test-ca-cert', | ||
| type: 'ca', | ||
| }; | ||
| } as const; |
@mjac0bs I think we should handle all the places the chip is being used. IMO, considering the scope of the PR, a separate ticket make sense. I think the usage should be like the below instead of rendering the chip within the Typography. |
|
Pushed some changes
Thank you for all of the great feedback. Unless something is urgent, I will address outstanding items in the next bug-fix PR! |




Description 📝
labelto fix this) 🐛downstreamcertificates when configuring a Configuration 🔐certificatefor alpha 🚫Preview 📷
Shows button behavior when editing 👁️
Screen.Recording.2023-11-28.at.3.26.17.PM.mov
Example of how complex API errors will be shown 👁️
How to test 🧪
Verification steps
yarn cy:debugload-balancer-configurations.spec.tstestsAs an Author I have considered 🤔