-
Notifications
You must be signed in to change notification settings - Fork 183
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] Test coverage for activites api #9543
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Scenarios to test for COPY/MOVE actions:
|
For this particular MOVE scenario, tests are already covered by : Scenario: check move activity
Scenario: check move activity for a file and a folder For other MOVE scenarios, tests are covered in PR: #10407 and #10409 And I'm currently working on COPY scenarios. |
@saw-jan There are few cases where we dont get the copy response or no response at all. Please go through the following: COPY (without using file-id) copy file (having some content) inside a folder
copy file (0 byte) inside a folder
copy file (some content and 0 byte) inside a folder by renaming the destination file
copy file (some content and 0 byte) into same folder by renaming the destination file
|
Test cases for COPY activities are covered in this PR: #10485 |
@saw-jan Similarly for copying file using file-id, the zero byte file have no response at all. I have already created a bug report for that. See: #9543 (comment). For other suitable cases, i will write tests in next PR ASAP. Please go through the following: COPY (using file-id) copy file (having some content) inside a folder
copy file (0 byte) inside a folder
copy file (some content and 0 byte) inside a folder by renaming the destination file
copy file (some content and 0 byte) into same folder by renaming the destination file
|
Test cases for COPY activities using file-id are covered in this PR: #10534 |
Description
Add tests coverage for activities api https://owncloud.dev/libre-graph-api/#/activities/GetActivities
GET
/v1beta1/extensions/org.libregraph/activities
web is using this api endpoint ( implemented)
Scenarios:
check activities on ocm Extend test coverage for ocm #10073
check activities for events (applicable to files, folders or spaces):
[ ] downloadActivities. no event for downloading file #10007 [Not available yet][ ] Unauthenticated download (public download)[Disabled]try to list activities of another user's file Activities. Any user can get the resource's activities using the file-id #9860
Activity filter: @Salipa-Gurung
depth:-1
) Activities. activity filterdepth:-1
does not list activity #9850depth:1
) - for folder, should not list the activities for files inside that folder [tests-only] [full-ci] Test for activity filters #9861limit:2
) [tests-only] [full-ci] Test for activity filters #9861asc
|desc
)share receiver can not see any activities, similar to versions (Activities. Sharee can get the shared file activities using the file-id #9849) @prashant-gurung899
check activity
message
translation to the language other than English (Activities. activity lack language translation. #9856) @prashant-gurung899Check coverage for Activity: folder variable missing if folder renamed #10148
Activity: new renamed folder name shown in previous folder share activity #10210
- [tests-only][full-ci] add test to check activities of a folder after renaming #10395
Bug Report:
Activities. incorrect response for share change (permission role) #10228
limit:0
,limit:-1
) Activities. activity filterlimit:0
andlimit:-1
has confusing behaviour #9880itemid
filter Query the activity endpoint without an itemid filter doesn't return any results #10153The text was updated successfully, but these errors were encountered: