Helpers and Given/Then steps no longer store their response, so a Then
step can't pass on a response left over from an earlier step:
- favorite helpers, used by Given steps too, return the response
- the preview Given/Then steps and the space entry Then steps pass their
response explicitly instead of storing it
- the rename by file id and set property steps are When steps
- the wopi, trashbin, colon path and revisions cleanup helpers return the
response to their When steps
A file whose name contains a literal "%" 404s on download because the
server-built oc:downloadURL did not percent-encode the path (#2852, fixed in
reva by https://github.com/opencloud-eu/reva/pull/653). Add a scenario mirroring
the web client download flow: read the oc:downloadURL from PROPFIND and GET it
as-is (the signature in the URL authenticates it), asserting 200 and the content.
The new step "user X downloads the P file via its oc:downloadURL" lives in
WebDavPropertiesContext; a regex annotation avoids the ":" in oc:downloadURL
colliding with the turnip :placeholder syntax.
Verified red->green on posix and decomposed: red on an opencloud built on a reva
with the fix reverted (the download 404s), green on the shipped reva.
https://github.com/opencloud-eu/opencloud/issues/2852