Commit Graph

364 Commits

Author SHA1 Message Date
Sabin Panta 9b17c3fa30 changing given from ocs to graph in favoritesSharingToShares feature file (#9118) 2024-05-14 10:33:13 +05:45
Sawjan Gurung b4e991bf63 [tests-only] extend group sharing and MOVE api tests (#9083)
* test: add more COPY/MOVE tests

* test: add sharing to group edgecase tests

* test: new line

* test: fix typo

* test: update expected failure
2024-05-07 12:26:59 +05:45
Sawjan Gurung 5c7c363e2b [tests-only] add API tests for file download and rename edge cases (#9018)
* test: add API tests to download deleted file

* test: add more MOVE/rename API tests

* do not reuse step def method

* remove unused step

* fix typo

* fix tests

* update expected failure

* update expected failure
2024-05-02 12:21:35 +05:45
Viktor Scharf 79c74711c4 [full-ci] Delete resharing tests (#8704)
* feat: disable resharing by default

delete re-sharing tests

* fix tests

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-27 10:30:25 +01:00
Prarup Gurung e666ea998d Fixed expected failures 2024-03-21 10:05:21 +05:45
Jörn Friedrich Dreyer 5ed57cc09a Bump reva deps (#8412)
* bump dependencies

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump reva and add config options

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-21 10:20:36 +01:00
Sawjan Gurung 0df64c26cd [tests-only] fix MOVE with another user dav path scenarios (#8460)
* test(api): fix MOVE with another user dav path scenarios

* test(api): fix php code style

* test(api): fix dav paths

* test(api): fix dav paths
2024-02-19 15:46:34 +05:45
Viktor Scharf 613ce154c5 [test-only] fix test: secret file drop (#8435)
* fix test: secret file drop

* Update uploadToPublicLinkShare.feature
2024-02-13 11:05:35 +05:45
Christian Richter 0a420dd333 remove expected failure
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-02-05 11:01:06 +01:00
Sawjan Gurung 08ab734119 fix share sub-folder test scenario (#8330) 2024-01-31 17:45:14 +05:45
Sabin Panta be8973def1 [tests-only][full-ci] adding user quota using graph api instead of Provisioning api (#7000)
* refactored getQuota scenario

* deleted quota step inside provisioning file

* updating feature file of quota as per graphapi

* updated expected failures file

* updated expected failures file

* removed issue tag
2024-01-24 10:12:42 +05:45
Sawjan Gurung e07f4f0cb4 [tests-only][ci] split large API test suites (#8212)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 15:16:19 +05:45
nirajacharya2 5b165e3209 adding test for getting versions of a file after moving it (#8013) 2024-01-10 17:11:45 +05:45
Sawjan Gurung bc59eab37b [tests-only] Added API tests coverage for MOVE within same folder with same filename (#8135)
* added API tests for moving a file within same folder and same name

* added API tests for moving a file within same folder and same name (file-id)

* update expected failure file
2024-01-09 16:33:04 +05:45
Sawjan Gurung 0f9f996aba [tests-only] Extend API test coverage for MOVE between spaces (#8113)
* extend API test coverage for MOVE between spaces

* update line numbers
2024-01-03 12:09:59 +01:00
Saw-jan 771fdc0c4d fix line numbers in expected failure list 2024-01-02 18:34:04 +05:45
Saw-jan 23111c8bba adjust MOVE tests to check 403 code 2024-01-02 18:11:46 +05:45
Roman Perekhod 40da95e1c0 [full-ci] fix public link update (#7862)
* the tests were modified

* Update tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature

Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>

* the expected failures removed

* change log added, reva bumped.

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-12-08 10:46:22 +01:00
Swikriti Tripathi 30f16dd80c [tests-only][full-ci] tests: update tests related to deletion of public link password to use ocsv2 as well (#7875)
* tests: update tests related to deletion of public link password to use ocsv2 as well

* tests: update expected to fail file
2023-12-07 12:11:26 +05:45
Swikriti Tripathi d37cea3a5e [tests-only][full-ci] tests: add api tests for deleting public link password (#7828) 2023-12-02 08:24:56 +05:45
Sabin Panta f280a00b7c adding skip on reva tag (#7856) 2023-11-30 17:56:35 +05:45
Sabin Panta 4d14e048d9 added steps for group removal in provisioning.php files (#7380) 2023-11-29 10:35:55 +05:45
Prarup Gurung e17cb94ef1 Fixed line numbers in expected failure 2023-11-22 15:45:33 +05:45
Swikriti Tripathi 279d0f8563 [tests-only][full-ci] move tests coreApiWebdavLocksUnlock/unlockSharingToShares.feature from to local api (#7769)
* tests:move tests from coreApiWebdavLocksUnlock/unlockSharingToShares.feature to local api

* tests: remove unnecessary behat config
2023-11-21 17:45:34 +05:45
Swikriti Tripathi 74dc3663a5 [tests-only][full-ci]Move unlock related tests from core to local api tests (#7747)
* Move unlock related tests from core to local api tests

* refactor tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* test:add failing test to expected to failure

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-21 15:07:26 +05:45
Swikriti Tripathi 792c8cc1b9 [tests-only][full-ci]Move locks related tests to local api tests and link the failing lock tests with correct issues (#7643)
* Link the failing lock tests with correct issues that they are failing with

* Move locks relates tests to new suite

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* address reviews

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* Add new scenario for trying to lock a folder

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-17 16:22:12 +05:45
Ralf Haferkamp 50f63bf436 bump reva to latest edge (#7727)
* bump reva to latest edge

To get https://github.com/cs3org/reva/pull/4336

* graph: Import unified role related code from reva

The UnifiedRole related types are pretty specific to the graph service.
Maintaining them as part of reva makes things more complex that required.

* chore: add failing cases to the expected failures

---------

Co-authored-by: Florian Schade <f.schade@icloud.com>
2023-11-17 09:18:45 +01:00
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
Andre Duffeck 7bb67d7e41 [full-ci] Bump reva (#7675)
* Bump reva

* Adapt expected failures

* update MOVE files between shares tests

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-11-09 15:26:16 +01:00
Viktor Scharf dfc55c39ef [test-only] Add more lock test (#7624)
* add more lock test

* Update WebDavLockingContext.php

* fix
2023-11-01 10:47:08 +05:45
Sabin Panta cc1f93eef1 [tests-only][full-ci] refactoring the user delete code from ocs to graphapi (#7020)
* addressing the reviews

* addressing the review

* refactored test code

* updated expected failures file
2023-10-31 12:01:36 +05:45
Sawjan Gurung 8eb7f7aa96 [tests-only] skip sharing tests in reva (#7591)
* do not use spacesContext

* skip sharing tests in reva

* update expected failure list

* do not cleanup status codes

* skip shares tests in reva

* update expected failure list
2023-10-27 12:37:09 +05:45
Viktor Scharf a9ddfec182 [test-only] fix tests after auto-accepting enabling (#7527)
* fix test

* fix preview test
2023-10-19 16:29:10 +02:00
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
Sabin Panta dc3ed28696 [tests-only][full-ci] refactoring user addition to group to graphapi (#7360)
* changed user addition to group to graphapi

* addressing the review

* addressing review regarding nonexistent user

* addressing the review

* updated expected failures file

* changing code to make it pass in reva edge

* addressing review

* addressing review
2023-10-17 11:34:53 +05:45
Karun Atreya afcdb7617d [tests-only] [full-ci] removing the setresponse in given/then step in publicwebdav context (#7439)
* refactored given steps

* refactored some when stepa

* refactored remaining when and then steps

* use of when step for the action

* changed line no in expected failure

* remove and add same kind of steps in the scenario and refactored function names

* adressing reviews
2023-10-13 16:59:43 +05:45
Sawjan Gurung 383ad91815 [tests-only] Fix API test steps (#7457)
* add missing step defs

* fix steps

* update expected failure line
2023-10-11 15:10:02 +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
Prajwol Amatya fa749529a9 [tests-only][full-ci ]Forwardport add test coverage for file preview using space dav version (#7266)
* Add tests for preview using space dav~

* use makeDavRequest to get preview of resource

---------

Co-authored-by: amrita <bunnycrestha34@gmail.com>
2023-09-12 12:05:55 +05:45
Swikriti Tripathi d57e516046 Update expected to fail file to link failing tests to correct issue 2023-08-21 16:37:50 +05:45
nirajacharya2 d623575db2 [tests-only][full-ci] removed a scenario and added a example table (#7076)
* removing the scenario and adding a example table

* removing the scenario and adding a example table
2023-08-21 15:32:19 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Jörn Friedrich Dreyer bae37cf20b bump reva to v2.15.1-0.20230809113840-3ceaf17cf7fb (#6978)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-09 16:01:46 +02:00
Sawjan Gurung d7dd979897 [tests-only][full-ci] Fix preview test scenario (#6931)
* fix preview test scenario

* setup ocis with custom fonts

* remove passing test from expected-failure
2023-08-01 17:33:43 +05:45
Sawjan Gurung ec4f56d0b9 fix: use error detail as message instead of whole error object (#6911)
* fix: instead of whole erro object, only send error detail as message

* remove passing test from expected failure
2023-07-28 13:15:55 +02:00
Sabin Panta bed8c77892 [tests-only][full-ci] make user enable disable feature use graphapi (#6790)
* make user enable disable feature use graphapi

* change the step definition code for user disable action

* updated step definition code for user disable feature

* updated user disable implementation

* corrected the error of step implementation code
2023-07-20 14:27:40 +05:45
Sabin 2c4076b896 Updated expected to failure for closed issue to new issue 2023-07-11 16:45:09 +05:45
Amrita 4bf2972521 Add test for animated gif preview (#6693) (#6766) 2023-07-11 14:44:45 +05:45
Prajwol Amatya 941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +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