Commit Graph

33 Commits

Author SHA1 Message Date
Viktor Scharf
97bce8edd4 more ocm tests 2024-07-08 07:59:52 +02:00
Sabin Panta
95c93f63b7 [tests-only][full-ci]adding tests for enable disable sync when sharer is deleted (#9130)
* adding tests for enable disable sync when sharer is deleted

* addhressing reviews
2024-05-15 12:58:22 +05:45
nirajacharya2
4c2ae74837 removing usage of a stepdefination inside another stepdefination in OCSContext.php (#9013) 2024-05-09 13:01:41 +05:45
nirajacharya2
9db4c51572 removing usage of a stepdefination inside another stepdefination in Provisioning (#8892) 2024-05-02 15:36:03 +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
Nalem7
d73351af89 [tests-only][full-ci] Make graph api default in test (#8290)
* make graph api default in test

* skip quota test in reva
2024-01-30 17:14:56 +05:45
Sabin Panta
be8973def1 [tests-only][full-ci] adding user quota using graph api instead of Provisioning api (#7000)
* refactored getQuota scenario

* deleted quota step inside provisioning file

* updating feature file of quota as per graphapi

* updated expected failures file

* updated expected failures file

* removed issue tag
2024-01-24 10:12:42 +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
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
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
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
Sabin Panta
bed8c77892 [tests-only][full-ci] make user enable disable feature use graphapi (#6790)
* make user enable disable feature use graphapi

* change the step definition code for user disable action

* updated step definition code for user disable feature

* updated user disable implementation

* corrected the error of step implementation code
2023-07-20 14:27:40 +05:45
Prajwol Amatya
0b67887e29 implement DRY principle (#6553) 2023-06-28 10:56:08 +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
d1f0c05723 Revert ldap related code removed 2023-03-21 14:18:12 +05:45
Prarup Gurung
8b93c1b8f6 Removed occ related codes 2023-03-21 09:21:01 +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
Prarup Gurung
810b7b5279 Refactored code where SetupHelper::runOcc method is used 2023-03-14 12:17:31 +05:45
Prarup Gurung
06169628af Removed method isTestingOnOcis, and refactored code 2023-03-13 12:08:42 +05:45
Prarup Gurung
7177c412a8 Merge pull request #5777 from owncloud/forward-port-remove-isTestingOnOcisOrReva
[full-ci] [tests-only] Remove `isTestingOnOcisOrReva`
2023-03-09 16:27:31 +05:45
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
Prarup Gurung
65d11ef634 Removed restoreParameters methods 2023-03-09 14:25:23 +05:45
Prarup Gurung
fab9bfc734 Removed method isTestingOnOcisOrReva, and refactored its use 2023-03-09 14:25:15 +05:45
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