Commit Graph

15 Commits

Author SHA1 Message Date
pradip
45df8ff599 test: implement test for sharee trying to lock shared file/folder in secure view lockFiles feature file 2024-06-12 12:22:33 +05:45
Prarup Gurung
23800a6b09 [full-ci] [tests-only] Use sharing-ng in given steps for sharing (#9221)
* resharing.feature: Used sharingNG for sharing in given step

* unlockFiles.feature: Used sharingNG for sharing in given step

* apiSpacesShares suite: Used sharingNG for sharing in given step

* acceptShares.feature: Used sharingNG for sharing in given step

* uploadFile.feature: Used sharingNG for sharing in given step

* coreApiWebdavUploadTUS suite: Used sharingNG for sharing in given step

* tag.feature: Used sharingNG for sharing in given step

* coreApiShareOperationsToShares2 suite: Used sharingNG for sharing in given step

* updateShare.feature: Used sharingNG for sharing in given step

* Fixed line numbers in expected failure
2024-05-22 13:01:54 +05:45
Sabin Panta
2c115e2418 changing given step of creating share in feature file (#9055) 2024-05-09 14:07: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
571689aad8 [tests-only] [full-ci] updating given step for sharing in unlockFiles (#9063)
* updating given step for sharing

* addressing review
2024-05-07 16:12:17 +05:45
Prarup Gurung
05dc4155c2 Used kebab case for example table header name 2024-03-19 15:44:54 +05:45
Prarup Gurung
d48ea766ea Refactored step to use depth for propfind 2024-03-13 15:00:47 +05:45
Swikriti Tripathi
a1dd520262 tests: add test for lock/unlock in public link share (#7789) 2023-11-27 16:39:47 +05:45
Swikriti Tripathi
ed46fa9148 [tests-only]tests: add tests for unlocking using file id (#7780)
* tests: add tests for unlocking using file id

* tests: add test for unloing a project space file using fileid

* tests: add test for uploading to a share space file using fileid

* tests: adddress reviews
2023-11-24 14:22:41 +05:45
Swikriti Tripathi
96862f4eb1 tests: add tests for lock expiration (#7777) 2023-11-22 15:37:29 +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
Nalem7
111dbb33a9 add test for unlocking project space file (#7698) 2023-11-21 12:18:23 +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
Swikriti Tripathi
861e32eadb [tests-only][full-ci]Move lock related tests to new suites (#7645)
* Move lock related tests to new suites

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

* update expected to fail file

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

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-02 12:31:19 +05:45