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

make all ocs and webdav API tests pass #27

Closed
11 of 68 tasks
micbar opened this issue Apr 27, 2020 · 12 comments
Closed
11 of 68 tasks

make all ocs and webdav API tests pass #27

micbar opened this issue Apr 27, 2020 · 12 comments
Assignees

Comments

@micbar
Copy link
Contributor

micbar commented Apr 27, 2020

⚠️ OBSOLETE ⚠️

see https://etherpad.owncloud.com/p/ocis-api-tests and in https://github.com/orgs/owncloud/projects/181 and https://github.com/orgs/owncloud/projects/182

make all ocs and webdav API tests pass

Guide to work with the testsuite in DEV docs.

https://owncloud.github.io/extensions/ocis_reva/testing/

Tasks

I've grepped the current tests on core master (as of commit 1bec7a397faa37f2edda6af35d2342e433499cf2), came up with the following existing issues:

General

File management

Sharing

Settings

User Management

Other APIs

Security

Todos

ℹ️ Grep command: grep -rie "issue-ocis" tests/acceptance | sed 's/.*\(ocis-[^\s ]*\).*/\1/' | sort | uniq | sed 's%\(ocis-[^-]*\)-\(\d*\)%- [ ] https://github.com/owncloud/\1/issues/\2%'

@C0rby C0rby self-assigned this Apr 28, 2020
@micbar
Copy link
Contributor Author

micbar commented Apr 30, 2020

@PVince81
Copy link

PVince81 commented Apr 30, 2020

Approach:

  • search for all @skipOnOcis tests in the core repo, uncomment and see what tests still fail
  • raise tickets based on failing tests if not fixable quickly (or list as checkbox here)

@PVince81
Copy link

PVince81 commented Apr 30, 2020

@PVince81 I moved your list to the top post

@PVince81
Copy link

It is likely that enabling tests will take longer than expected. The reason is that one disabled test might hide another failure. For example you might want to reenable a test related to a MOVE operation, but that test also tests checksums which is still not implemented. So you need to replace the issue number with another one after researching which other case is related.

This seems to be the case for example in owncloud/ocis-reva#14: while the main case works, a lot of tests still fail after reenabling, due to various other reasons to investigate. This will increase the estimate for every ticket.

@individual-it
Copy link
Member

not all tests marked with an issue are skipped, some are already fixed

@PVince81
Copy link

PVince81 commented May 4, 2020

Right, thanks. I forgot to look closely at the @skipOnOcis because somehow my brain connects an issue tag with an implicit skip. Also it seems that I didn't realize that grep for issue tags was pointing me at UI tests instead of API tests.

I'll go through the tickets I touched last week and recheck if the API tests were affected or not.
We might be closer to completion then.

@PVince81 PVince81 self-assigned this May 5, 2020
@C0rby
Copy link

C0rby commented May 6, 2020

What do we do about tests which are broken by the tus code?
For example tests/acceptance/features/apiAuthWebDav/webDavPOSTAuth.feature:35.

@individual-it
Copy link
Member

@C0rby I cannot find that test in the core repo, that line is in the middle of a scenario. And the whole file is tagged skipOnOcis, so it should not be executed in ocis at all 😕

@C0rby
Copy link

C0rby commented May 6, 2020

Oh you are right, I copied the wrong path... let me change the path above

@PVince81
Copy link

PVince81 commented May 6, 2020

if that one has a ticket number, please add the ticket to the checkbox list in the top post.
if there's no ticket, please raise one.

it seems there are already a bunch of sharing related tickets, I didn't look into them yet

@PVince81
Copy link

@PVince81
Copy link

closing this, we should use the projects now to track progress

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

No branches or pull requests

4 participants