* update given step using sharingNg in changeSpaces.feature
* update given step using sharingNg in disableAndDeleteSpaces.feature
* update given step using sharingNg in editPublicLinkOfSpace.feature
* update given step using sharingNg in filePreviews.feature
* update given step using sharingNg in listSpaces.feature
* update given step using sharingNg in publicLink.feature
* update given step using sharingNg in removeSpaceObjects.feature
* 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
* add test edit public link
* Minor edits to public link tests
* Adjust public link tests for comments of Sagar
* change line in expected failures
Co-authored-by: Phil Davis <phil@jankaritech.com>