Commit Graph

30 Commits

Author SHA1 Message Date
Swikriti Tripathi
954a1c04a0 [tests-only] tests: refactor test script for removing permission from share (#8134)
* tests: refactor test script for removing permission from share

* address reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-01-09 13:56:32 +05:45
Sagar Gurung
85d4598907 [tests-only][full-ci]Added tests for setting password in a public share (#8079) (#8138)
* Added tests for set/update for password for public link

* Added assertion step for password update

* Rebase and refactor setPassword step

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Review Address

* Fix style

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-08 10:43:54 +05:45
Sagar Gurung
07a0743807 [tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) (#8071) (#8103)
* Added test to update role and expiration date for share link



* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-02 17:45:53 +05:45
Swikriti Tripathi
66e09938cb tests: add tests for update public link to delete password invite permission (#7894)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-12-06 17:00:47 +05:45
nirajacharya2
dac33abe41 refactoring Sharing.php test file (#7534) 2023-12-05 18:43:30 +05:45
Prajwol Amatya
2bee588977 added test for previewing shared resource inside project space (#7544) 2023-10-26 12:59:34 +05:45
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
Saw-jan
e439deaba9 strict check for successful request 2023-10-06 14:55:38 +05:45
Saw-jan
a63ba607f9 fix share creation methods 2023-10-06 14:55:38 +05:45
Karun Atreya
87f1235562 [tests-only] removing the setresponse in given/when/then step in ocs and webdavlocking context (#7347)
* refactor given and when steps in ocs and webdav locking context

* use the returned response

* use of returned response from helper function

* made changes to the affected test steps

* deleted vardump line
2023-10-02 17:00:04 +05:45
Prajwol Amatya
db098fa4f5 refactored acceptance test code to store response data related to public shares on single store (#6930) 2023-08-03 13:51:22 +05:45
Prajwol Amatya
21af4b3d6d refactor acceptance code to store response data of user or group shares on single store (#6775) 2023-07-26 12:01:09 +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
Prajwol Amatya
0b67887e29 implement DRY principle (#6553) 2023-06-28 10:56:08 +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
Amrita
c750d6677a Add tests for space notification (#6372) 2023-06-08 16:59:45 +05:45
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
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
Phil Davis
9b9d88e7d6 Cleanup acceptance tests (#6195) 2023-05-02 17:25:56 +05:45
Phil Davis
7fb93058cf tidy up acceptance tests 2023-04-21 14:59:50 +05:45
Prarup Gurung
aac714be9a Removed method runOcc from FeatureContext, and refactored code 2023-03-15 17:16:54 +05:45
Prarup Gurung
68ed280e27 Cleaned up orphaned methods in SetupHelper 2023-03-14 12:17:39 +05:45
Swikriti Tripathi
b445f847e8 Refactor test for updating the share (#5789) 2023-03-11 12:47:31 +05:45
Prarup Gurung
fab9bfc734 Removed method isTestingOnOcisOrReva, and refactored its use 2023-03-09 14:25:15 +05:45
amrita
13365f8c7f Refactor share permission related scenario 2023-02-14 11:46:09 +05:45
Amrita
3a61f8c919 Removed DAV tech preview steps and related code (#5526) (#5530)
Co-authored-by: Prarup Gurung <grgprarup@users.noreply.github.com>
2023-02-08 15:30:49 +05:45
Viktor Scharf
486453b4c9 create share with expirate date. refactoring code (#5424) 2023-02-01 09:55:51 +01:00
Kiran Parajuli
7d152e2ad1 Copied acceptance tests infrastructures from oC/core
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2023-01-05 09:21:34 +05:45