Commit Graph
73 Commits
Author SHA1 Message Date
Sabin PantaandGitHub 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 PantaandGitHub 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 PantaandGitHub 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 PantaandGitHub 37208139f4 addressing the review (#7372) 2023-10-11 15:55:26 +05:45
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 ScharfandGitHub f0d99683f0 expand createUser.feature (#6662) 2023-06-29 18:10:49 +02:00
Prajwol AmatyaandGitHub 0b67887e29 implement DRY principle (#6553) 2023-06-28 10:56:08 +05:45
Sagar GurungandGitHub b18ac5d46b Use triats in correct way (#6430) 2023-06-02 14:36:05 +05:45
Prarup GurungandGitHub 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
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 GurungandGitHub 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 DavisandGitHub 9b9d88e7d6 Cleanup acceptance tests (#6195) 2023-05-02 17:25:56 +05:45
Sagar GurungandGitHub 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
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 GurungandGitHub 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
AmritaandGitHub 76cc388e45 Expand tests scenario for adding multiple user at once (#5864) (#5963) 2023-03-31 08:59:25 +05:45
AmritaandGitHub 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 AmatyaandGitHub 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 AmatyaandGitHub 264aacca8f test for adding users to a group using invalid JSON (#5931) 2023-03-27 10:41:21 +05:45
AmritaandGitHub 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
AmritaandGitHub 15a4941281 Add tests to add user in a group at once (#5831) 2023-03-15 13:58:04 +05:45
Prajwol AmatyaandGitHub 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 ScharfandGitHub 94c3df2246 [test-only] add test to filter or (#5771)
* add test to filter or

* lint
2023-03-10 09:05:00 +01:00
Viktor ScharfandGitHub 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 TripathiandGitHub 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
AmritaandGitHub 8bd4c3a9a2 Add tests to add user in a group at once (#5743) 2023-03-07 14:36:04 +05:45
Viktor ScharfandGitHub 1e1b4379ae [test-only] ApiTest. Disable/enable user (#5639) 2023-03-06 16:52:55 +05:45
AmritaandGitHub 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 GurungandGitHub 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 ScharfandGitHub 56d3192fc7 [test-only] ApiTest. test for filter appRoleAssigment (#5629)
* add test for filter

* fixed typos
2023-02-23 09:53:12 +01:00
Viktor ScharfandGitHub 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 ScharfandGitHub 139cf79f61 [test-only] Api test. get applications list. (#5529) 2023-02-13 09:38:04 +05:45
Viktor ScharfandGitHub 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 ScharfandGitHub 9bdd1e9ce9 [test-only] apiTest. Delete group from the space (#5365)
* add test

* add empty line
2023-01-10 12:03:52 +01:00
sagargurung1001@gmail.comandPhil Davis b9fda28235 Review address for separate functon 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis a05a746297 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 1874280a56 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis e15afb04d4 Implement user drive information 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 46575abe11 Drive infor assertion 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 265db41819 remove before 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis c80e773234 Added drive info check 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 6ff9d6196f Added expected to failure file 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 9f0a22af7e Added test for getting user information by admin using Graph API 2022-12-30 17:31:35 +05:45
Prarup GurungandGitHub 00efd8af2e [full-ci] [tests-only] Added api test for edit user using graph API (#5150) 2022-12-14 14:15:18 +05:45