Description of the issue
Currently all the VPC related fields values are automatically validated (checking absence of selection) when some event lead the unselection of the related drop-down menu. These events are: VPC switching, AZ switching, "refresh" button clicking. A failed validation makes error message appear. However it would be better put this validation in place only when the user clicks on the "Next" button. In addition to that, when the user visits the "Networking > VPC settings" step for the first time, although no values are selected, no error messages are shown, which is not coherent with the behavior being in place when values are selected and then the selection, for some reason, is cleared.
Steps to Reproduce:
- Launch OCM UI staging.
- Open ROSA wizard as "Classic".
- Reach "Networking > VPC settings" step
- Observe VPC related fields values (no values are selected)
- Select a VPC, then an AZ, then at least one subnet
- Switch AZ
- Observe subnets validation messages of the ones selected at step 5
- Click "Refresh" button beside VPC drop-down menu
- Observe validation messages for all the VPC related fields
Actual results:
At step 4 validation messages appear below subnet fields, at step 9 validation messages appear below all the VPC related fields.
Expected results:
The flavor of validation discussed before should be triggered only by the "Next" button action, so no error messages should appear at step 4 and 9.
- is related to
-
OCMUI-511 [Rosa Classic] VPC settings step - Add subnet dropdowns
- Closed