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
And as "Alice" file "/myChunkedFile.txt" should not exist
89
89
Examples:
90
90
| dav-path-version |
@@ -106,8 +106,8 @@ Feature: antivirus
106
106
When the public uploads file "filesForUpload/filesWithVirus/<file-name>" to "<new-file-name>" inside last link shared folder using the public WebDAV API
107
107
Then the HTTP status code should be "201"
108
108
And user "Alice" should get a notification with subject "Virus found" and message:
And as "Alice" file "/uploadFolder/<new-file-name>" should not exist
112
112
Examples:
113
113
| dav-path-version | file-name | new-file-name |
@@ -132,8 +132,8 @@ Feature: antivirus
132
132
When the public uploads file "filesForUpload/filesWithVirus/<file-name>" to "<new-file-name>" inside last link shared folder with password "%public%" using the public WebDAV API
133
133
Then the HTTP status code should be "201"
134
134
And user "Alice" should get a notification with subject "Virus found" and message:
And as "Brian" file "/Shares/uploadFolder/<new-file-name>" should not exist
195
195
And as "Alice" file "/uploadFolder/<new-file-name>" should not exist
196
196
Examples:
@@ -211,15 +211,15 @@ Feature: antivirus
211
211
When user "Alice" uploads a file "filesForUpload/filesWithVirus/<file-name>" to "/uploadFolder/<new-file-name>" in space "new-space" using the WebDAV API
212
212
Then the HTTP status code should be "201"
213
213
And user "Alice" should get a notification for resource "<new-file-name>" with subject "Virus found" and message:
And the version folder of file "/test.txt" for user "Alice" should contain "1" element
328
328
And the content of file "/test.txt" for user "Alice" should be "hello nepal"
@@ -348,8 +348,8 @@ Feature: antivirus
348
348
When the public overwrites file "test.txt" with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" using the public WebDAV API
349
349
Then the HTTP status code should be "204"
350
350
And user "Alice" should get a notification with subject "Virus found" and message:
And the content of file "/test.txt" for user "Alice" should be "hello"
354
354
Examples:
355
355
| dav-path-version |
@@ -375,8 +375,8 @@ Feature: antivirus
375
375
When user "Brian" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "Shares/test.txt" using the WebDAV API
376
376
Then the HTTP status code should be "204"
377
377
And user "Brian" should get a notification with subject "Virus found" and message:
And the content of file "/test.txt" for user "Alice" should be "hello"
381
381
And the content of file "Shares/test.txt" for user "Brian" should be "hello"
382
382
Examples:
@@ -409,15 +409,15 @@ Feature: antivirus
409
409
When user "Brian" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "Shares/uploadFolder/test.txt" using the WebDAV API
410
410
Then the HTTP status code should be "204"
411
411
And user "Brian" should get a notification for resource "test.txt" with subject "Virus found" and message:
And the content of file "Shares/uploadFolder/test.txt" for user "Brian" should be "this is a test file."
415
415
And the content of file "uploadFolder/test.txt" for user "Alice" should be "this is a test file."
416
416
When user "Brian" uploads file with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to "Shares/test.txt" using the WebDAV API
417
417
Then the HTTP status code should be "204"
418
418
And user "Brian" should get a notification for resource "test.txt" with subject "Virus found" and message:
And the content of file "Shares/test.txt" for user "Brian" should be "this is a test file."
422
422
And the content of file "/test.txt" for user "Alice" should be "this is a test file."
423
423
Examples:
@@ -436,8 +436,8 @@ Feature: antivirus
436
436
When user "Alice" uploads a file inside space "new-space" with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to ".space/readme.md" using the WebDAV API
437
437
Then the HTTP status code should be "204"
438
438
And user "Alice" should get a notification with subject "Virus found" and message:
And for user "Alice" the content of the file ".space/readme.md" of the space "new-space" should be "Here you can add a description for this Space."
442
442
443
443
@@ -457,8 +457,8 @@ Feature: antivirus
457
457
When user "Brian" uploads a file inside space "new-space" with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" to ".space/readme.md" using the WebDAV API
458
458
Then the HTTP status code should be "204"
459
459
And user "Brian" should get a notification with subject "Virus found" and message:
0 commit comments