Commit Graph

26 Commits

Author SHA1 Message Date
Swikriti Tripathi
580e8aeb46 tests: add api tests for changing system language using graph api (#7817) 2023-11-28 15:33:17 +05:45
Viktor Scharf
91ae5172f6 [full-ci]Enforce pass by default. changed api tests (#7706)
* set enforce pass by default. change tests

* fix tests

* fix test
2023-11-13 23:37:12 +01:00
Sabin Panta
1c6600365c [tests-only][full-ci] Refactoring all graphapi related featurefile wording (#7389)
* refactoring the feature file steps

* addressing review
2023-10-30 17:57:42 +05:45
Viktor Scharf
c179485db6 [full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test

* go format
2023-10-17 16:29:05 +02:00
Karun Atreya
903ab8e1f8 [tests-only] [full-ci] removing the setresponse in given/then step in webdav context (#7403)
* refactoring the given steps in the webdav context

* refactored remaining given/when/then steps

* return file id

* trim trailing from the folder path

* add missing when step and make other minor corrections

* set responseXml and correct status code check

* correct the naming of steps and helper functions
2023-10-11 16:15:31 +05:45
Sawjan Gurung
c59b597984 [tests-only] Run tests with default propfind depth infinity config (#7334)
* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY

* remove unnecessary steps

* use default propfind depth infinity value

* use correct step to check the resources

* use correct step to check the resources

* cover depth:infinity enabled test cases

* fix steps

* fix scenario steps

* update expected failure list

* add depth infinity test suite to ci

* update existing tests only

* remove test with depth:infinity
2023-10-03 09:26:31 +05:45
ownClouders
ed784efebd removed api tag from antivirus test 2023-08-08 10:39:30 +05:45
Karun Atreya
078c7e036c added step to check notification with subject and resource (#6675) 2023-07-26 10:07:45 +05:45
nirajacharya2
5524658f86 added antivirus test for overwriting a file with virus content in project space share (#6623) 2023-06-27 15:28:40 +05:45
nirajacharya2
cd304b4df8 added antivirus test for overwriting the .space/readme.md file (#6615) 2023-06-26 16:41:20 +05:45
KarunAtreya
0de8222461 adapt the scenario for sharing file as well as file inside a folder 2023-06-26 12:03:04 +05:45
KarunAtreya
d9298dbb73 added scenarios for overwrite file with virus content in user share 2023-06-26 11:57:19 +05:45
nirajacharya2
82f5f25bfe [tests-only][full-ci]added scenario for overwrite file with virus content in a public link (#6586) (#6600)
* added scenario for overwrite file with virus content in a public link

* changed sharer overwrite step with public overwrite

Co-authored-by: Karun Atreya <33852651+KarunAtreya@users.noreply.github.com>
2023-06-23 15:13:01 +05:45
Karun Atreya
82fd405825 [tests-only][full-ci]added scenario for overwrite file with virus content in a public link (#6586)
* added scenario for overwrite file with virus content in a public link

* changed sharer overwrite step with public overwrite
2023-06-23 11:24:03 +05:45
Sabin Panta
edc00ebd12 [tests-only]Add test for ANTIVIRUS_INFECTED_FILE_HANDLING (#6498)
* Corrected the issues in scenerio

* rebase current branch
2023-06-22 09:38:30 +02:00
Artur Neumann
86d5e2564c Merge pull request #6538 from owncloud/useGraphinsteadOfSettingMethodInTests
[test-only][full-ci] using graph method instead of setting in api tests
2023-06-16 10:36:00 +05:45
Nalem7
e3ff3418b0 [tests-only][full-ci]add test for creating a version file with virus content (#6521) (#6535)
* add test for creating a version file with virus content

* rebasing

---------

Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-16 09:09:38 +05:45
Viktor Scharf
5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Sabin Panta
0bd628a956 scenerio added only for Deutsch and Spanish language (#6523) 2023-06-15 14:32:34 +05:45
Nalem7
c9393e79b8 update public sharing test for zip virus file (#6506)
Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-14 15:30:00 +05:45
Sabin Panta
111ff55579 add tests by setting ANTIVIRUS_MAX_SCAN_SIZE env (#6484) 2023-06-14 12:26:10 +05:45
Nalem7
03045c5ccc add tests for project space (#6485)
Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-13 14:36:17 +05:45
Nalem7
cb16fd5843 [tests-only][full-ci]add test for antivirus user group sharing (#6463)
* add test for antivirus user and group share

* added test for 3 file

* deduct of one file

---------

Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-12 17:12:01 +05:45
Nalem7
f16f9bf7d1 add test for antivirus public link (#6454)
Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-09 10:07:15 +05:45
Swikriti Tripathi
e6d68ddbd0 Skip antivirus related tests in reva 2023-06-07 16:57:25 +05:45
Swikriti Tripathi
4b78e06e04 Add acceptance tests for antivirus (#6405)
test on ci

test on ci

run on detached mode

add wait for clam

fix syntax

fix syntax

try without wait

add clamservice to steps

use different wait for command

put sleep

test

wait for clamav service

Clean up tests and enable other tests in the ci

address reviews

add documentation

add docs for docker

address reviews

refactor docs

remove user premission as it's by default root

capitalize the letters
2023-06-02 17:11:17 +05:45