You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FLS-448 Malware virus scanning for client side file upload (#195)
* Malware scanning for client side file upload
* Fix e2e test to have malware detection changes
* Disable Virus scan capability in local development but enable in e2e
* Adding in-progress state till file gets the tag
* Change endpoint into POST to a check and delete file based on the tag from guard duty
* Addressing review comments
* Adding .env to get AWS params
* Sonar fix
Copy file name to clipboardExpand all lines: e2e-test/cypress/e2e/runner/clientSideFileUpload.feature
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ Feature: Client Side File Upload
13
13
And I continue
14
14
Then I see the error "Test Client Side file Upload is required" for "Upload the independent survey of works" component with problem title
15
15
16
-
@wip
17
16
Scenario: Adding a single file into the client side file upload
18
17
And the form session will be initiated with the given component type "text" key "clientSideFileUploadField1" title "Upload the independent survey of works" answer "" question "Upload the independent survey of works" and finally form "client-side-file-upload-single" and session "045a5791-1d76-45e6-a926-7d4ff26b4113"
19
18
| form | redirectPath |
@@ -33,5 +32,12 @@ Feature: Client Side File Upload
33
32
When I upload the file "passes.png" wait till upload
34
33
Then I see the error "Test Client Side file Upload requires 2 files" for "Upload the independent survey of works" component with problem title
35
34
36
-
35
+
Scenario: Adding a single file into the client side file upload with a virus
36
+
And the form session will be initiated with the given component type "text" key "clientSideFileUploadField1" title "Upload the independent survey of works" answer "" question "Upload the independent survey of works" and finally form "client-side-file-upload-single" and session "045a5791-1d76-45e6-a926-7d4ff26b4113"
37
+
| form | redirectPath |
38
+
| client-side-file-upload-single | / |
39
+
And I go to the initialised session URL with generated token
40
+
And I continue
41
+
When I upload the file "passes.png" with virus then wait till upload
42
+
Then I see the error "The selected file contains a virus" for "Upload the independent survey of works" component with problem title
0 commit comments