Commit Graph
53 Commits
Author SHA1 Message Date
Sawjan Gurung 39192c7bea ci: use existing servers (#12100)
* ci: enable k8s setup for remaining suites

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing servers

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix mail setup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix tika

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix csp directives

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: merge ocm provider configs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix notification tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix script file

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: enable ocm server logs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix pattern

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix cluster wait

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: run auth-app only when required

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix sharing tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-12 10:46:13 +05:45
Niraj Acharya 89d028edbd test: fix public link related test for k8s deployment 2026-02-06 11:41:20 +05:45
Niraj Acharya 413bf9307a test: fix antivirus tests 2025-12-18 13:20:11 +05:45
9d0c31799b [tests-only][full-ci] test: run API-antivirus test suite on k8s (#11844)
* test: run API-antivirus test suite on k8s

* test: export service port

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing clamav service

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix debug port

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: deploy clamav in k8s

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Niraj Acharya <niraj@jankaritech.com>
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-12-05 10:37:55 +05:45
Lukas Hirt c226e4af3d style: fix gherkin format 2025-09-19 17:19:34 +02:00
Lukas Hirt ae276bdfeb test: drop labels of no longer expected issues 2025-09-19 16:15:07 +02:00
Niraj Acharya 77ec7d1559 test: run tests on kubernetes with ociswrapper 2025-09-05 12:28:06 +05:45
amrita-shrestha b69bb7cd1b refactor code to handle single notification event 2025-03-13 09:13:18 +05:45
amrita 4b5a06fce3 add hard coded event id 2025-03-11 10:37:54 +05:45
amrita-shrestha b4017cc1cf fix nottification cleanup and retry 2025-02-10 12:42:40 +05:45
prashant-gurung899 e02171d8be use displayname of permissions role in steps
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-21 09:56:38 +05:45
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
nirajacharya2andKarun Atreya 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
Nalem7andnabim777 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
Nalem7andnabim777 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
Nalem7andnabim777 03045c5ccc add tests for project space (#6485)
Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-13 14:36:17 +05:45
Nalem7andnabim777 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