* backporting the PR
* [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
pass the returned response without setting in then step
added the missing when step whose response is checked by the then step
addressed the reviews
changed from decoded body to docoded response
* log request-response to a file
show logs in ci
move hooks to one place
* preserve logs between suites
* ignore logs
* Refactor and beautify logs
* fix php style
* add log step in ci pipeline
* get expected-failure file from env if available
refactored given steps
refactored some when stepa
refactored remaining when and then steps
use of when step for the action
changed line no in expected failure
remove and add same kind of steps in the scenario and refactored function names
adressing reviews
* refactoring webdav context (setting response in when step only)
refactoring the given steps in the webdav context
refactored remaining given/when/then steps
return file id
trim trailing from the folder path
add missing when step and make other minor corrections
set responseXml and correct status code check
correct the naming of steps and helper functions
* setting response
* refactor given and when steps in webdavproperties context
* change the status code in tests as the when step sets the response now
* correct the status code check
* only save response
* use getResponseXml to get xml response object
* fix isEtagValid method
* rename step def methods
* make stricter checks
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
refactor given and when steps in ocs and webdav locking context
use the returned response
use of returned response from helper function
made changes to the affected test steps
deleted vardump line
* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY
* remove unnecessary steps
* use default propfind depth infinity value
* use correct step to check the resources
* use correct step to check the resources
* cover depth:infinity enabled test cases
* fix steps
* fix scenario steps
* update expected failure list
* add depth infinity test suite to ci
* update existing tests only
* remove test with depth:infinity
making helper function, checking and setting response in given step and when steo respectively
returning response and using in given/then steps as required in favoritesContext
set the returned response on SpaceContext
changed to inline variable in some lines as required
to check for the specific https response code
migrating set response from helper function to when step in preview feature
separate single when/then steps by converting to helper function
use of httpstatuscode check function in given step and rebased
change function name
remove use of setresponse in then step
set the returned response
* 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>
removing setting response in the given steps
use response interface
use the returned response
check success response
changed to inline variable
changed variable response_xml to responseXml