Commit Graph

51 Commits

Author SHA1 Message Date
Viktor Scharf
4e6bdc1688 apiTest. set recipient type in body 2023-12-19 23:28:52 +01:00
Prarup Gurung
87d3762381 Added test for sending share invitation to user with role 2023-12-19 16:57:09 +05:45
Viktor Scharf
b4d1feea5f apiTest: listPermissions (#7946)
* apiTest: listPermissions

* fix after review

* fix
2023-12-13 12:34:49 +01:00
Swikriti Tripathi
580e8aeb46 tests: add api tests for changing system language using graph api (#7817) 2023-11-28 15:33:17 +05:45
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
Prajwol Amatya
25b5b6bee1 added test coverage for previewing shared resources using spaces dav path (#7472) 2023-10-13 11:51:08 +05:45
Prajwol Amatya
0aa41d90c1 send X-Request-Id in header of every request (#7085) 2023-09-06 16:07:53 +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
Phil Davis
08e3d46adf Cleanup code in TestHelpers 2023-05-09 19:59:06 +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
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
amrita
d5f85350e4 Refactor api endpoint 2023-04-17 17:11:15 +05:45
Prajwol Amatya
16f8c49de9 [tests-only][full-ci]Forwardport json drill apispacesshares (#5965)
* Replace the key and value paris step with the current json assertion step

* Fix red CI for undefined step

---------

Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-04-03 09:46:01 +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
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
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
Viktor Scharf
3e3d3f9de2 [test-only] ApiTest. get users of members of several groups (#5575)
* get users with group filter

* fix test
2023-02-16 16:34:13 +01:00
Viktor Scharf
139cf79f61 [test-only] Api test. get applications list. (#5529) 2023-02-13 09:38:04 +05:45
Viktor Scharf
abc1a446ca [test-only] ApiTests. check group in the space request (#5492)
* check response

* fix test
2023-02-07 11:53:14 +01:00
Viktor Scharf
0bf121d2e2 [test-only] api tests for getting group info of user (#5476)
* add tests for geting group info

* more tests
2023-02-01 08:41:16 +01:00
Viktor Scharf
62e347b788 Update GraphHelper.php 2023-01-23 15:20:32 +01:00
Viktor Scharf
a4687cfc89 do not send mail in the body if the mail is empty 2023-01-23 15:20:32 +01:00
Viktor Scharf
7c9452768e [test-only] ApiTest. create tag (#5391)
* create tag

* split method

* fix after review
2023-01-17 12:41:56 +01:00
Swikriti Tripathi
6a4ee395bf Adds tests for sending PATCH request to other user's space
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-01-05 07:42:32 +05:45
Phil Davis
d0087f98b8 Apply suggestions from code review 2022-12-30 17:32:21 +05:45
sagargurung1001@gmail.com
b9fda28235 Review address for separate functon 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com
a05a746297 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com
1874280a56 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com
e15afb04d4 Implement user drive information 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com
6ff9d6196f Added expected to failure file 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com
9f0a22af7e Added test for getting user information by admin using Graph API 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com
4124173a51 Review Address 2022-11-29 11:54:28 +05:45
sagargurung1001@gmail.com
82049df3ee Refactored and added test to get user information with GraphAPI 2022-11-28 14:34:23 +05:45
Phil Davis
726640882b Hardcode header in GraphHelper::deleteSpace 2022-09-02 16:01:56 +05:45
Viktor Scharf
8178c40049 fix after rebase 2022-08-31 18:09:36 +02:00
Viktor Scharf
4efa0747ff Merge branch 'master' into refactoringTests 2022-08-31 15:22:11 +02:00
Viktor Scharf
2a51a3f96c move graph api methods from Space context to GraphHelper 2022-08-31 15:11:31 +02:00
Viktor Scharf
3b548c9be3 [test-only] apiTest. change own password (#4480)
* apiTest. change own password

* fix
2022-08-31 13:02:33 +02:00
Viktor Scharf
280947365b part1 2022-08-31 09:57:44 +02:00
saw-jan
bddfade253 update expected to fail file, refactor comment doc
exlude TestHelpers from codacy as done for other test context files

Signed-off-by: saw-jan <saw.jan.grg3e@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
4857a6dbe3 Fix codacy related errors
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiran
e39f49ef11 Helper and context refactorings
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiran
5b04aa1ee7 Implement context for core
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45