Commit Graph

299 Commits

Author SHA1 Message Date
Karun Atreya
56c48df0bd [tests-only][full-ci]refactor for Intermittent test failures on coreApiTrashbin/trashbinDelete.feature (#6718)
* assert the response code after listing from trashbin

* set endpoint according to dav path and assert while listing

* php style fix

* changed comment

* changed as reviews
2023-07-12 12:26:51 +05:45
Nalem7
469341c027 add test for search by deleted tag (#6660) 2023-07-12 10:34:21 +05:45
nirajacharya2
db70ab27ac added test for mail notification if space admin delete access to space (#6719) 2023-07-10 13:07:53 +05:45
Viktor Scharf
873732fbb1 [test-only][full-ci]ApiTests. purge trash bin tests (#6699)
* purge trash bin tests

* fix
2023-07-04 14:43:00 +02:00
Prarup Gurung
4455480e9e Do not register space context for reva 2023-06-30 14:52:56 +05:45
Sabin Panta
9b4244b086 [tests-only] [full-ci] Refactoring unshare step definition code (#6608)
* added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
2023-06-30 12:22:42 +05:45
Viktor Scharf
f0d99683f0 expand createUser.feature (#6662) 2023-06-29 18:10:49 +02:00
Prajwol Amatya
0b67887e29 implement DRY principle (#6553) 2023-06-28 10:56:08 +05:45
Prajwol Amatya
73d48b1132 added response check after file download (#6643) 2023-06-28 10:12:04 +05:45
Amrita
d865f2cb5e Improve code logic (#6597) 2023-06-27 17:02:54 +05:45
Viktor Scharf
753c8f2372 [full-ci][tests-only] Check id file owner in response (#6627)
* check owner as spaceId in sharing response

* fix after review
2023-06-27 12:50:10 +02:00
Sabin Panta
0bd628a956 scenerio added only for Deutsch and Spanish language (#6523) 2023-06-15 14:32:34 +05:45
Sagar Gurung
6540865d50 [tests-only][full-ci]Added scenarios for quota exceed with API (#6450)
* Added scenarios for quota exceed with API

* Review Address

* changed code

* review-address: check for space not exists

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-06-15 11:50:38 +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
Amrita
c750d6677a Add tests for space notification (#6372) 2023-06-08 16:59:45 +05:45
Phil Davis
3c99877129 adjust compare oc:tags lists 2023-06-08 13:14:24 +05:45
Sagar Gurung
7bac14d61c [tests-only][full-ci]Add step to set quota with env OCIS_SPACES_MAX_QUOTA (#6402)
* Add step to set ocis max spaces quota with env

* Add env-config tag to scenario for ocis roll back

* Fix red CI and and test for spaces

* Review address

* Reuse step for single env

* Remove doubtful scenario
2023-06-06 11:57:04 +05:45
Phil Davis
0bc3d8646e Adjust test method tryToDeleteFileFromTrashbin 2023-06-05 13:37:30 +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
Sagar Gurung
b18ac5d46b Use triats in correct way (#6430) 2023-06-02 14:36:05 +05:45
Amrita
91ea910cf0 Extend notification tests scenario for different language (#6365) 2023-05-31 16:00:10 +05:45
Prarup Gurung
09729552e3 Added GDPR report test for events.SpaceCreated (#6397) 2023-05-29 11:12:39 +05:45
Viktor Scharf
76b0e744a7 [tests-only] Api tests for checking conflict status code while creating folder (#6389)
* add tests for checking conflict status code while creating folder

* fix after review
2023-05-25 14:47:32 +02:00
Viktor Scharf
d271a19459 upload file after renaming 2023-05-25 07:41:07 +02:00
Amrita
53ee61ad87 [full-ci][tests-only]Extend notification api tests (#6324)
* Add api tests for notification

* Address review
2023-05-24 12:56:43 +05:45
Prarup Gurung
8d06acf030 Added api test for changing app role of user 2023-05-23 15:11:52 +05:45
Viktor Scharf
36d7e77baa [test-only][full-ci] Api tests. get notification on different languages (#6254)
* get notification on different languages

* set default english if no configured

* fix

* fix after review

* fix after rebase

* after review
2023-05-17 10:00:47 +02:00
Viktor Scharf
573ee3d071 remove checking for empty value 2023-05-15 15:06:46 +02:00
Prarup Gurung
4b04870ade [full-ci] [tests-only] unassign app role assignment of user (#6030)
* Added scenario to unassign the role of user

* Added scenario,admin tries to unassign the own role

* Addressed reviews

* refactor

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-05-15 10:45:24 +02:00
Sawjan Gurung
9945dad647 [POC][full-ci] Testing various oCIS env configurations (#6062)
* run api tests

* run ocis via wrapper

* add context, helpers and steps change ocis config

* remove separate pipelines for special test cases

* add context to behat config

* fix suite name

* set wrapper url while running tests

* fix cors allow env name

* address review

* add ociswrapper codebase

* add ci pipeline to build and cache wrapper

* add step to check ociswrapper cache

* invalidate wrapper cache and build new

* build on pipeline step

* undo unnecessary changes

* undo unnecessary changes

* fix php code

* fix ocis run command

* use tag for teardown

* exclude wrapper vendor in codacy check

* fix typos
2023-05-11 17:21:52 +05:45
Phil Davis
f17351a063 Fix expected trashbin href for spaces 2023-05-11 11:41:10 +05:45
Prajwol Amatya
1f8164c527 [tests-only] [full-ci] api test for email notification (#6145) 2023-05-10 14:03:52 +05:45
Phil Davis
1c0e31853e Merge pull request #6266 from owncloud/update-vendor-bin-dependencies
[tests-only] [full-ci] Update vendor-bin dependencies
2023-05-10 12:07:05 +05:45
Sagar Gurung
3e60706b30 [tests-only][full-ci]Added GDPR export for quota update, export another users GDPR (#6249)
* Added GDPR export for quota update, another user tries to export

* PR address
2023-05-10 11:37:13 +05:45
Phil Davis
fa3fc21d70 Update vendor-bin dependencies 2023-05-10 11:15:19 +05:45
Prajwol Amatya
1788406b52 [tests-only][full-ci] removed steps related to share api occ commands (#6096)
* removed steps related to occ commands

* removed scenarios from expected failures

* fixed lines in exp failure
2023-05-10 10:13:11 +05:45
Phil Davis
08e3d46adf Cleanup code in TestHelpers 2023-05-09 19:59:06 +05:45
Swikriti Tripathi
c969faf8ef Add proper description to a feature file 2023-05-09 10:07:18 +05:45
Prarup Gurung
e208b3018a Removed step and implementation of setting share auto accept 2023-05-08 09:01:54 +05:45
Amrita
517a177057 [tests-only] [full-ci] Refactor scenario related to checking json response (#6034)
* Separate positive and negative testing in different scenario

* Remove duplicate scenario

* Refactor json step graamer

* Remove unnecessary steps

* Add step to check space disable state
2023-05-04 14:55:11 +02:00
amrita
73c327bdf0 Remove file sharing app 2023-05-04 12:42:14 +05:45
amrita
a34c6c42a8 Remove tag skipOnOcis notToImplementOnOCIS oImplementOnOCIS comments-app-required federation-app-required notifications-app-required systemtags-app-required local_storage 2023-05-04 12:42:14 +05:45
Phil Davis
9b9d88e7d6 Cleanup acceptance tests (#6195) 2023-05-02 17:25:56 +05:45
Sagar Gurung
579dcd082a [tests-only]Added GDPR export. check events when user is created (#6106)
* Added GDPR export for event upload file

* Add for user created events for GDPR export

* Add for user information assertion

* Review Address
2023-04-27 16:04:17 +05:45
Phil Davis
24699b5678 Improve words in some test steps that check API responses 2023-04-24 10:58:05 +05:45
Phil Davis
8141a6d723 Fix invalid public upload acceptance test step 2023-04-24 10:50:40 +05:45
Prajwol Amatya
e0b6ca0e29 [tests-only][full-ci] api test to get personal drive information of other users (#6018)
* api test to get personal drive information of other users

* fix the broken personal drive listing

* removed scenario from expected failure after issue fixed

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-04-21 16:59:16 +05:45
Phil Davis
7fb93058cf tidy up acceptance tests 2023-04-21 14:59:50 +05:45
Swikriti Tripathi
7db5b86bd4 Refactor the syntax of the scenarios in local API tests 2023-04-20 15:32:15 +05:45
amrita
d5f85350e4 Refactor api endpoint 2023-04-17 17:11:15 +05:45