Commit Graph

45 Commits

Author SHA1 Message Date
Prarup Gurung
a93bb0ff45 Removed failing ocs scenarios, removed from expected failure 2024-06-20 11:34:53 +05:45
Prarup Gurung
e85f3019e0 Removed failing ocs scenarios, removed from expected failure 2024-06-11 11:44:13 +05:45
isha
228eb68245 removing the usage of a stepdef inside another stepdef in Sharing.php (#9189) 2024-05-22 17:10:47 +05:45
Prarup Gurung
fec9de257f updatePublicLinkShare.feature: Used sharingNG for sharing in given step 2024-05-20 09:26:55 +05:45
Sabin Panta
6284411edb [tests-only][full-ci]changing given from ocs to graph in feature file (#9142)
* changing given from ocs to graph in feature file

* addressing reviews
2024-05-16 15:34:28 +05:45
Prarup Gurung
b0ec3008b9 accessToPublicLinkShare.feature: Used sharingNG for sharing in given step 2024-05-15 17:50:45 +05:45
Salipa Gurung
20eda8b6e2 [tests-only] [full-ci] Use sharingNg in coreApiShareOperationsToShares1 (#9162)
* update given step using sharingNg in accessToShare.feature

* update given step using sharingNg in changingFilesShare.feature

* update given step using sharingNg in gettingShares.feature

* update given step using sharingNg in gettingSharesPendingFiltered.feature

* update given step using sharingNg in gettingSharesReceivedFiltered.feature

* update given step using sharingNg in gettingSharesReceivedFilteredEmpty.feature

* update given step using sharingNg in gettingSharesSharedFiltered.feature

* update given step using sharingNg in gettingSharesSharedFilteredEmpty.feature
2024-05-15 15:20:58 +05:45
Prarup Gurung
f2f2439284 shareSubItemOfSpace.feature: Used sharingNG for sharing in given step 2024-05-14 17:07:10 +05:45
Prarup Gurung
b4b51437a0 [full-ci] [tests-only] Used sharing-ng in given steps (#9120)
* publicLinkDownload.feature: Used sharingNG for sharing in given step

* shareOperations.feature: Used sharingNG for sharing in given step
2024-05-09 17:17:14 +05:45
nirajacharya2
4c2ae74837 removing usage of a stepdefination inside another stepdefination in OCSContext.php (#9013) 2024-05-09 13:01:41 +05:45
Prarup Gurung
f36fc13cba copySpaces.feature: Used sharingNG for sharing in given step 2024-05-07 16:27:11 +05:45
Prarup Gurung
68f03f2f5e Addressed reviews 2024-05-03 09:52:29 +05:45
Prarup Gurung
7423fa3a4b Use sharingNG for sharing in given step, refactored accordingly 2024-05-03 09:52:29 +05:45
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
Viktor Scharf
13ee2d93aa delete php string deprication (#8911) 2024-04-22 11:20:00 +02:00
Swikriti Tripathi
3976c1c1fc [tests-only] tests: add tests for removing share permission (#8130)
* tests: add tests for removing share permission

* tests: add tests for removing share permission in group share

* tests: refactor test script for removing permission from share

* address reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-01-11 11:31:28 +05:45
Sagar Gurung
c46db2b7cb [tests-only][full-ci]Added tests for setting password in a public share link (#8079)
* 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

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-05 13:57:59 +05:45
Sagar Gurung
6e9b599195 [tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) (#8071)
* Added test to update role and expiration date for share link

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

* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-02 16:53:47 +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