owncloud / QA

:collision: public test plans for owncloud components and apps
GNU Affero General Public License v3.0
14 stars 17 forks source link

[QA] API test WebDav: unused stepDefinitions #855

Closed prashant-gurung899 closed 3 months ago

prashant-gurung899 commented 3 months ago
WebDav.php
* @Then /^the downloaded content should be "([^"]*)" plus end-of-line$/
* @When user :user using password :password downloads the file :fileName using the WebDAV API
* @When the user downloads the file :fileName using the WebDAV API
* @When user :user using password :password downloads the file :fileName using the WebDAV API
* @Then the downloaded content should start with :start
* @Given the HTTP-Request-timeout is set to :seconds seconds
* @Given /^the user has moved (?:file|folder|entry) "([^"]*)" to "([^"]*)"$/
* @When user :user moves entry :source to :destination using the WebDAV API
* @When /^user "([^"]*)" moves the following (?:files|folders|entries)\s?(asynchronously|) using the WebDAV API$/
* @When /^the user copies file "([^"]*)" to "([^"]*)" using the WebDAV API$/
* @Given /^the user has copied file "([^"]*)" to "([^"]*)"$/

Many step defintions in WebDav.php are unused in any scenarios. These are some of them and there are about 50 of them that are unused. Investigate whether to keep the step defintions and add test coverage for it or remove them.

prashant-gurung899 commented 3 months ago

I found these unused step defintions while working on these issues: https://github.com/owncloud/ocis/issues/9345 https://github.com/owncloud/ocis/issues/9520

prashant-gurung899 commented 3 months ago

Wrong issue on wrong repo. Closing this issue.

prashant-gurung899 commented 3 months ago

Closing.