Add feature specs for On-demand Scans form
The following discussion from !42013 (merged) should be addressed:
-
@pslaughter started a discussion: (+1 comment) test (non-blocking): It looks like there might be some missing coverage here
While getting some unit testing around this functionality would be nice, it might be more beneficial to have feature test coverage so that we can make this kind of refactorings with a bit more confidence. You may also consider a Frontend Integration test
😄 @pgascouvaillancourt could you please create a follow-up ~"feature::maintenance" issue for this? Thanks!
Let's a feature spec to make sure that the On-demand Scans form behaves as expected (properly fetches DAST profiles and shows profiles selectors).
Implementation Plan
Test the happy path following the guidelines
-
form renders properly -
Look for Manage DAST Scans
link -
form action button shouldn't be disabled
-
-
DAST Profiles loaded properly -
form submission -
save and run scan -
save scan
-
-
form cancellation
Edited by Dheeraj Joshi