Commit Graph

108 Commits

Author SHA1 Message Date
Viktor Scharf
60eaef5f75 fix 2024-08-19 11:11:17 +02:00
Viktor Scharf
5a958dfb92 get federated users test 2024-08-16 13:34:37 +02:00
Ralf Haferkamp
3288602c50 tests: Adjust acceptance test for recent graph API changes
Searching for federated users requires a $filter now.
2024-08-13 14:40:12 +02:00
Salipa-Gurung
6c4c8bdffa refactor test steps 2024-08-13 13:13:58 +05:45
Salipa-Gurung
e96bac1e25 add test for file deletion activity 2024-08-12 13:04:25 +05:45
Salipa-Gurung
2b5144a97d fix indentation 2024-08-12 13:04:24 +05:45
Salipa-Gurung
065c4fa027 add test coverage for activities api for a file 2024-07-25 14:51:18 +05:45
pradip
7b8b4faf05 test: add test coverage for roleMangement endpoints 2024-07-23 12:46:16 +05:45
Saw-jan
dd8a3eb3d2 tests: add test cases for non-admin actions to admin resources 2024-07-18 17:43:16 +05:45
Sabin
52a0c346c3 added test for updating admin password via cli 2024-07-18 12:07:54 +05:45
Saw-jan
a8ee23734c test: add settings helper
test: move methods to helper
2024-07-08 09:44:48 +05:45
Saw-jan
04d7985487 test: retry listing shares 2024-07-08 09:44:48 +05:45
Sawjan Gurung
590a40d979 [tests-only] add file/folder creation and list sharedByMe of link shares (#9150)
* test: add more edge-case tests for file/folder creation

* test: add list sharedByMe tests for link shares

* test: fix tests

* test: list sharedByMe of drive link share

* test: add issue tag

* test: split scenario
2024-05-17 14:19:53 +05:45
nirajacharya2
33eb024302 removing usage of a stepdefination inside another stepdefination in GraphContext.php (#9026) 2024-05-06 09:36:35 +05:45
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
Sawjan Gurung
2f32fa3e36 [tests-only] do not try to delete already deleted groups (#8886)
* fix(test): do not try to delete already deleted groups

* test: remove redundant steps

* test: fix php code style

* fix typo
2024-04-18 17:28:38 +05:45
Viktor Scharf
b51ba47e01 check email in the search sharee request (#8861) 2024-04-17 11:42:09 +02:00
Sabin Panta
25fa79d54a [tests-only][full-ci]added test for declining a share (#8636)
* added test for declining a share

* updated step definition for disabling user

* addressing review
2024-03-21 14:03:09 +05:45
nirajacharya2
fb1d93342c adding test for sharedWithMe endpoint for resource in project space (#8292) 2024-03-01 15:36:51 +05:45
Sawjan Gurung
3cea035d6d [tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts

* test(api): fix json schema

* test(api): fix method call

* test(api): update expected failure lines

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): make json array validation strict

* test(api): fix php code style

* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
Sagar Gurung
c3d895445e [tests-only][full-ci]Added tests to lists shared by me after sharee is deleted (#8450)
* Added tests to lists shared by me after sharee is deleted

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

* Refactor tests

* Review address

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

* Review address

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

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-16 15:16:29 +05:45
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