Commit Graph

87 Commits

Author SHA1 Message Date
Sawjan Gurung
94a7f189e0 rename list shares step (#8337) 2024-02-01 16:40:29 +05:45
Sagar Gurung
1281a730e8 [tests-only] Added test for sharingNg for endpoint sharedByMe from personal space (#8285)
* Added tests to list shared by me resources

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

* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-01 13:54:44 +05:45
Swikriti Tripathi
00717481f7 [tests-only]test: add test for shared with me (#8010)
* test: add test for shared with me

* test: add test for shared with me shared file

* add missing field and add test to expected to fail

* address review

* test: move file

* tests: make differente funtion for regex fileid pattern matching
2024-01-25 09:47:56 +05:45
nirajacharya2
448916a9dd [tests-only][full-ci] forward port user and group search tests (#8240)
* fixing json assertion for addUserToGroup.feature

* adding tests for searching groups as a normal user

* adding tests for searching user as a normal user

* fixing json assertion for removeUserFromGroup.feature

* fixing json assertion for listPermissions.feature
2024-01-18 15:14:10 +05:45
Nalem7
d14935ad78 [tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint (#8006)
* remove ocs endpoint from delete group

* remove adminHasDeletedGroupUsingTheGraphApi

* adressing reviews
2024-01-17 15:42:31 +05:45
Prarup Gurung
c3716d1039 Added test for sending share invitation to deleted user 2024-01-11 16:25:27 +05:45
Prarup Gurung
d69a916c12 Added test for sending share invitation to disabled user (#8174) 2024-01-11 11:31:55 +05:45
Prajwol Amatya
d2635cc4df added test to send share invitation to a deleted group (#8166) 2024-01-10 13:56:02 +01:00
Nalem7
8ce0417d4d remove ocs endpoint (#7864) 2023-12-19 14:25:56 +05:45
nirajacharya2
26411f1f3b re runing ci (#7811)
Co-authored-by: Nalem7 <61624650+nabim777@users.noreply.github.com>
2023-12-01 14:02:39 +05:45
Sabin Panta
4d14e048d9 added steps for group removal in provisioning.php files (#7380) 2023-11-29 10:35:55 +05:45
Swikriti Tripathi
580e8aeb46 tests: add api tests for changing system language using graph api (#7817) 2023-11-28 15:33:17 +05:45
Roman Perekhod
a6b75bc9f6 fix libre-graph status codes (#7705)
* fix libre-graph status codes

* owncloud-test-middleware bumped

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2023-11-15 17:45:23 +01:00
nirajacharya2
cbfd894243 add query params to the log (#7493) (#7399)
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-10-31 12:17:50 +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
Sabin Panta
1c6600365c [tests-only][full-ci] Refactoring all graphapi related featurefile wording (#7389)
* refactoring the feature file steps

* addressing review
2023-10-30 17:57:42 +05:45
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
Sabin Panta
37208139f4 addressing the review (#7372) 2023-10-11 15:55:26 +05:45
Sabin Panta
5efc3c51a1 [tests-only][full-ci] refactoring user creation Given steps from provisioning into GraphContext (#7019)
* refactored the user creation given statement from provisioning to graph api

added getUser steps that covers the steps for user with user light role

* added userlight step tests to check drive information and updated expected failure files

* added usercreation initiation code

* deleted seperate tests for user light role

* remove unnecesary changes

* add user not initialize step

* corrected the testcode

* moved the steps from graph to provisioning file

* fix creating single ldap user

* fix: user check method

* initialize user via graph

* addressing reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-09-06 09:22:38 +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
Sagar Gurung
b18ac5d46b Use triats in correct way (#6430) 2023-06-02 14:36:05 +05:45
Prarup Gurung
09729552e3 Added GDPR report test for events.SpaceCreated (#6397) 2023-05-29 11:12:39 +05:45
Prarup Gurung
8d06acf030 Added api test for changing app role of user 2023-05-23 15:11:52 +05:45
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
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
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
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
Sagar Gurung
b52597d6d1 [tests-only][full-ci]Json assertion apigraph master branch (#5989)
* Json assertion for api graph suite

* Review Address
2023-04-05 14:05:34 +05:45
Amrita
76cc388e45 Expand tests scenario for adding multiple user at once (#5864) (#5963) 2023-03-31 08:59:25 +05:45
Amrita
63ba5613c0 [tests-only][full-ci]Extend tests coverage for different role capability for group (#5742)
* Extend tests coverage for different role capability for group

* Remove unwanted scenario

* Change http status code
2023-03-28 09:09:37 +05:45
Prajwol Amatya
1e5bf171fe [tests-only][full-ci] Forwardport test for send wrong host for adding user in group (#5932)
* added test for admin trying to add user with wrong host

* added test for adding single user to a group with invalid hostname
2023-03-27 15:47:55 +05:45
Prajwol Amatya
264aacca8f test for adding users to a group using invalid JSON (#5931) 2023-03-27 10:41:21 +05:45
Amrita
71011fc4aa [full-ci][tests-only]Expand tests coverage related to user with different role (#5725)
* Refactor tests related to different role

* Use setResponse from When step
2023-03-21 10:03:51 +05:45
Amrita
15a4941281 Add tests to add user in a group at once (#5831) 2023-03-15 13:58:04 +05:45
Prajwol Amatya
e836b2d138 added test for getting details of a single group (#5760)
addressed reviews

updated steps with JSON drill-down functionality

reviews addressed

fixed linter error

conflicts resolved

fixed errors

addressed reviews
2023-03-15 12:10:59 +05:45
Viktor Scharf
94c3df2246 [test-only] add test to filter or (#5771)
* add test to filter or

* lint
2023-03-10 09:05:00 +01:00
Viktor Scharf
8560015c18 [test-only] add api tests to editing user name (#5769)
* add tests to edit user name

* style fix

* fix after review
2023-03-10 09:02:33 +01:00
Swikriti Tripathi
249adc7cd7 Seperate test steps for positive and negative cases (#5773)
fix php style

use the correct step

fix other steps

fix other php style

remove unwanted param

Refactor test function for handeling errors

fix return types

clean up code

address reviews
2023-03-09 16:21:50 +05:45
Amrita
8bd4c3a9a2 Add tests to add user in a group at once (#5743) 2023-03-07 14:36:04 +05:45
Viktor Scharf
1e1b4379ae [test-only] ApiTest. Disable/enable user (#5639) 2023-03-06 16:52:55 +05:45
Amrita
4377754573 [tests-only][full-ci]Extend tests related to assign role (#5584)
* Extend assign role test coverage

* Check app Entity has been set or not
2023-03-03 09:17:34 +05:45
Sagar Gurung
028ca42fed Forward port getallgroupmemberswithallmembers to master (#5658)
* Added graph API test for getting all groups along with its members

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

* Refactor implementation code

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

* PR address

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

* Update the local api expected to failure

* Review Address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-02-27 11:16:50 +05:45
amrita
0b71d10c37 Add graph api tests for assign role 2023-02-23 15:34:11 +05:45
Viktor Scharf
56d3192fc7 [test-only] ApiTest. test for filter appRoleAssigment (#5629)
* add test for filter

* fixed typos
2023-02-23 09:53:12 +01:00