Commit Graph

49 Commits

Author SHA1 Message Date
Florian Schade
f465a2bfa9 fix: flaky integration tests 2025-12-15 16:44:18 +01:00
Viktor Scharf
93d84478a4 removed test virus files from repo (#1812)
* remove virus file from repo

* doenload zip file

* adjust tests
2025-11-10 09:38:51 +01:00
prashant-gurung899
9193df0385 tests: update antivirus tests for zip files
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-06-04 14:01:51 +05:45
Artur Neumann
87def992c8 fix expected spanish string in test 2025-04-07 12:40:48 +05:45
prashant-gurung899
baf4a7a8c5 run local Api Tests in CI
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-03-14 17:34:23 +05:45
Viktor Scharf
6e6feab07a skip test for spanish languages 2025-02-11 12:01:14 +01:00
Jörn Friedrich Dreyer
a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
amrita
acc993ab36 santize service health and reasy url 2024-12-31 15:06:16 +05:45
Niraj Acharya
c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Prajwol Amatya
34dc52d426 update the scenarios for service availability check 2024-11-28 16:01:30 +05:45
Viktor Scharf
1789a1ad43 fix after review 2024-11-28 09:11:51 +05:45
Viktor Scharf
18e0af90b7 add test for checking service ready and health 2024-11-28 09:11:50 +05:45
Prajwol Amatya
9a7c8a43f8 Merge pull request #10610 from owncloud/merge-antivirus-test-scenarios
[tests-only][full-ci] merge similar test scenraios in antivirus test
2024-11-21 09:44:43 +05:45
Prajwol Amatya
7697c354d5 merge similar test scenraios in antivirus test 2024-11-20 12:07:17 +05:45
Sabin
b5d5afcd5c remove old dav path for public share 2024-11-19 14:54:02 +05:45
Prajwol Amatya
9d6bd35bb5 extend dav paths versions 2024-11-19 13:05:34 +05:45
Prajwol Amatya
33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Saw-jan
f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Saw-jan
878c5f4075 test: ensure share is available before performing actions
test: fix expected-failure lines
2024-07-26 15:19:33 +05:45
Sawjan Gurung
abb537f08f [tests-only] separate different SharingNG share steps (#9097)
* separate When steps using root and permissions endpoints

test: separate resource sharing GIven step from space share

test: share space via root endpoint in Given steps

test: use existing step

test: fix more steps

* test: separate resource and space link share creation

test: fix php code style
2024-05-08 14:22:52 +05:45
Sabin Panta
6ac17a9155 updating antivirus feature file (#9024) 2024-04-30 16:28:23 +05:45
Sabin Panta
8b9d5da7ec [tests-only][full-ci] changed given statement of sharing link in api antivirus feature file (#8914)
* changed given statement of sharing link in api antivirus feature file

* updated scenerio of uploading virus inside public share

* added step defnitin for uploading file via public link
2024-04-30 12:26:21 +05:45
Prarup Gurung
3055d5912a Used kebab case for example table header name 2024-03-19 10:05:49 +05:45
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