-
Notifications
You must be signed in to change notification settings - Fork 187
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):
Resource (file/folder):
Activities. Resource id is missing in the old activities #9712
[ ] downloadActivities. no event for downloading file #10007 [Not available yet][ ] Unauthenticated download (public download)[Disabled]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
→ Covered in: [tests-only][full-ci] Add test coverage for correct parent folder reference in activity messages #10617
Resource (file) - activities using file-id
Share: @prashant-gurung899
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
)check activity
message
translation to the language other than English (Activities. activity lack language translation. #9856) @prashant-gurung899Bug Report:
check activities for events (applicable to files, folders or spaces):
file version download Activities. no event for downloading file version #10008
restore deleted file Activities. no event for restoring file #10010
activities of destination file and folder [QA] Test coverage for activites api #9543 (comment)
activities using file-id
Activity filter:
limit:0
,limit:-1
) Activities. activity filterlimit:0
andlimit:-1
has confusing behaviour #9880Check activity without
itemid
filter Query the activity endpoint without an itemid filter doesn't return any results #10153The text was updated successfully, but these errors were encountered: