Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] API test WebDav: unused stepDefinitions #855

Closed
prashant-gurung899 opened this issue Jul 5, 2024 · 3 comments
Closed

[QA] API test WebDav: unused stepDefinitions #855

prashant-gurung899 opened this issue Jul 5, 2024 · 3 comments

Comments

@prashant-gurung899
Copy link

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
Copy link
Author

I found these unused step defintions while working on these issues:
owncloud/ocis#9345
owncloud/ocis#9520

@prashant-gurung899
Copy link
Author

Wrong issue on wrong repo.
Closing this issue.

@prashant-gurung899
Copy link
Author

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant