Commit Graph

16 Commits

Author SHA1 Message Date
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