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
* 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
* 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
* 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 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 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