Separate validation out of site profile creation - Create DastSiteValidationModal component
- Parent epic: &4871 (closed)
Implementation plan
- Create the
DastSiteValidationModalcomponent.- It replaces the
DastSiteValidationcomponent. - The modal should accept a
targetUrlprop. - The modal creates a validation token for the
targetUrl. - While the token is being created, show a skeleton loader instead of the validation form.
- Clicking on the
Validatebutton triggers thedastSiteValidationCreatemutation and closes the modal.
- It replaces the
- Add tests for the
DastSiteValidationModalcomponent.- Skeleton loader while creating token.
- Token create mutation.
- Error upon token creation failure.
Edited by Paul Gascou-Vaillancourt